Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS
Commit a8c696bf09
makes ifup and ifdown
individually selectable, but forgets to update the dependency to
IFUPDOWN_UDHCPC_CMD_OPTIONS, so it is not selectable anymore.
This patch fixes the dependency by checking for IFUP or IFDOWN, instead
of the obsolete IFUPDOWN.
Also, it drops dependency on UDHCPC: udhcpc on the target system
does not have to come from the _same_ binary.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
d3720828ea
commit
c6725b0af6
@ -53,7 +53,7 @@ source networking/udhcp/Config.in
|
|||||||
config IFUPDOWN_UDHCPC_CMD_OPTIONS
|
config IFUPDOWN_UDHCPC_CMD_OPTIONS
|
||||||
string "ifup udhcpc command line options"
|
string "ifup udhcpc command line options"
|
||||||
default "-R -n"
|
default "-R -n"
|
||||||
depends on IFUPDOWN && UDHCPC
|
depends on IFUP || IFDOWN
|
||||||
help
|
help
|
||||||
Command line options to pass to udhcpc from ifup.
|
Command line options to pass to udhcpc from ifup.
|
||||||
Intended to alter options not available in /etc/network/interfaces.
|
Intended to alter options not available in /etc/network/interfaces.
|
||||||
|
Loading…
Reference in New Issue
Block a user