From: Michael Tremer <michael.tremer@ipfire.org>
To: network@lists.ipfire.org
Subject: Re: [PATCH] dhcp: remove useless delay setting
Date: Fri, 14 Jul 2017 10:13:24 -0400 [thread overview]
Message-ID: <1500041604.2276.2.camel@ipfire.org> (raw)
In-Reply-To: <1500039639-18239-1-git-send-email-jonatan.schlag@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]
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 <jonatan.schlag(a)ipfire.org>
> ---
> 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"
> ;;
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2017-07-14 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 13:40 Jonatan Schlag
2017-07-14 14:13 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1500041604.2276.2.camel@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=network@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox