From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: network@lists.ipfire.org Subject: [PATCH] dhcp: remove useless delay setting Date: Fri, 14 Jul 2017 15:40:39 +0200 Message-ID: <1500039639-18239-1-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9068496254019853698==" List-Id: --===============9068496254019853698== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Fixes: #11420 Signed-off-by: Jonatan Schlag --- src/hooks/configs/dhcp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/hooks/configs/dhcp b/src/hooks/configs/dhcp index 5ac01b6..8bb6aa9 100644 --- a/src/hooks/configs/dhcp +++ b/src/hooks/configs/dhcp @@ -21,16 +21,13 @@ . /usr/lib/network/header-config -HOOK_CONFIG_SETTINGS="HOOK DELAY ENABLE_IPV6 ENABLE_IPV4" +HOOK_CONFIG_SETTINGS="HOOK ENABLE_IPV6 ENABLE_IPV4" # Default settings. -DELAY=0 ENABLE_IPV6="on" ENABLE_IPV4="on" hook_check_config_settings() { - assert isset DELAY - assert isinteger DELAY assert isset ENABLE_IPV6 assert isbool ENABLE_IPV6 assert isset ENABLE_IPV4 @@ -40,9 +37,6 @@ hook_check_config_settings() { hook_parse_cmdline() { while [ $# -gt 0 ]; do case "${1}" in - --delay=*) - DELAY="$(cli_get_val "${1}")" - ;; --enable-ipv6) ENABLE_IPV6="on" ;; -- 2.6.3 --===============9068496254019853698==--