diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2017-01-03 12:29:52 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-10 16:55:51 +0100 |
commit | 7bcc3c46a7749226697e8b4a486edadcac4f1723 (patch) | |
tree | d6825c6559c5ee670560264d39ad5ea94879571d | |
parent | 9c806db4b744999213ddba755fff847d4525df9f (diff) | |
download | busybox-w32-7bcc3c46a7749226697e8b4a486edadcac4f1723.tar.gz busybox-w32-7bcc3c46a7749226697e8b4a486edadcac4f1723.tar.bz2 busybox-w32-7bcc3c46a7749226697e8b4a486edadcac4f1723.zip |
Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS
Commit a8c696bf09d8151323f6e99348c4bc8989f829c8 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>
-rw-r--r-- | networking/Config.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/Config.src b/networking/Config.src index 527bdd15d..0adb1e2f9 100644 --- a/networking/Config.src +++ b/networking/Config.src | |||
@@ -53,7 +53,7 @@ source networking/udhcp/Config.in | |||
53 | config IFUPDOWN_UDHCPC_CMD_OPTIONS | 53 | config IFUPDOWN_UDHCPC_CMD_OPTIONS |
54 | string "ifup udhcpc command line options" | 54 | string "ifup udhcpc command line options" |
55 | default "-R -n" | 55 | default "-R -n" |
56 | depends on IFUPDOWN && UDHCPC | 56 | depends on IFUP || IFDOWN |
57 | help | 57 | help |
58 | Command line options to pass to udhcpc from ifup. | 58 | Command line options to pass to udhcpc from ifup. |
59 | Intended to alter options not available in /etc/network/interfaces. | 59 | Intended to alter options not available in /etc/network/interfaces. |