diff options
author | Jörg Krause | 2017-01-03 12:29:52 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-03 12:29:52 +0100 |
commit | c6725b0af68238a456690146adec763c04f66c82 (patch) | |
tree | 39341bc3e8195b666c253c9b0108d68f2ec9c4ff /networking/Config.src | |
parent | d3720828eacebf8c0c37db2fe6b27407d85d384d (diff) | |
download | busybox-c6725b0af68238a456690146adec763c04f66c82.zip busybox-c6725b0af68238a456690146adec763c04f66c82.tar.gz |
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>
Diffstat (limited to 'networking/Config.src')
-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 527bdd1..0adb1e2 100644 --- a/networking/Config.src +++ b/networking/Config.src @@ -53,7 +53,7 @@ source networking/udhcp/Config.in config IFUPDOWN_UDHCPC_CMD_OPTIONS string "ifup udhcpc command line options" default "-R -n" - depends on IFUPDOWN && UDHCPC + depends on IFUP || IFDOWN help Command line options to pass to udhcpc from ifup. Intended to alter options not available in /etc/network/interfaces. |