From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: network@lists.ipfire.org Subject: Re: [PATCH] dhcp: remove useless delay setting Date: Fri, 14 Jul 2017 10:13:24 -0400 Message-ID: <1500041604.2276.2.camel@ipfire.org> In-Reply-To: <1500039639-18239-1-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0320738688831274377==" List-Id: --===============0320738688831274377== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi, merged. I also removed the lines that actually used this from the dhclient-script. However, it didn't do anything since the hook config was never read. Best, -Michael On Fri, 2017-07-14 at 15:40 +0200, Jonatan Schlag wrote: > 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" >   ;; --===============0320738688831274377== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0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