1 From 9c0b06bfbb05c40ba31bad8aa469aa2330620e9e Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
3 Date: Thu, 29 Dec 2016 18:41:21 +0100
4 Subject: [PATCH] Fix dependency for IFUPDOWN_UDHCPC_CMD_OPTIONS
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Commit a8c696bf09d8151323f6e99348c4bc8989f829c8 makes ifup and ifdown
10 individually selectable, but forgets to update the dependency to
11 IFUPDOWN_UDHCPC_CMD_OPTIONS, so it is not selectable anymore.
13 This patch fixes the dependency by checking for IFUP or IFDOWN, instead
14 of the obsolete IFUPDOWN.
16 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
18 networking/Config.src | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/networking/Config.src b/networking/Config.src
22 index 527bdd15d..a3d895b5f 100644
23 --- a/networking/Config.src
24 +++ b/networking/Config.src
25 @@ -53,7 +53,7 @@ source networking/udhcp/Config.in
26 config IFUPDOWN_UDHCPC_CMD_OPTIONS
27 string "ifup udhcpc command line options"
29 - depends on IFUPDOWN && UDHCPC
30 + depends on (IFUP || IFDOWN) && UDHCPC
32 Command line options to pass to udhcpc from ifup.
33 Intended to alter options not available in /etc/network/interfaces.