From: Jörg Krause Date: Tue, 3 Jan 2017 11:29:52 +0000 (+0100) Subject: Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS X-Git-Tag: 1_26_2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7bcc3c46a7749226697e8b4a486edadcac4f1723;p=oweals%2Fbusybox.git 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 Signed-off-by: Denys Vlasenko --- 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 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.