[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [PATCH] Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS
From:       Jörg Krause <joerg.krause () embedded ! rocks>
Date:       2016-12-29 19:43:44
Message-ID: 20161229194344.3505-1-joerg.krause () embedded ! rocks
[Download RAW message or body]

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.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
 networking/Config.src | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/Config.src b/networking/Config.src
index 527bdd15d..a3d895b5f 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) && UDHCPC
 	help
 	  Command line options to pass to udhcpc from ifup.
 	  Intended to alter options not available in /etc/network/interfaces.
-- 
2.11.0

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic