From: Jonatan Schlag <jonatan.schlag@ipfire.org>
To: network@lists.ipfire.org
Subject: [PATCH] dhcp: remove useless delay setting
Date: Fri, 14 Jul 2017 15:40:39 +0200 [thread overview]
Message-ID: <1500039639-18239-1-git-send-email-jonatan.schlag@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 948 bytes --]
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"
;;
--
2.6.3
next reply other threads:[~2017-07-14 13:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-14 13:40 Jonatan Schlag [this message]
2017-07-14 14:13 ` Michael Tremer
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=1500039639-18239-1-git-send-email-jonatan.schlag@ipfire.org \
--to=jonatan.schlag@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