From: Roy Marples Date: Mon, 15 Sep 2008 16:43:27 +0000 (+0000) Subject: Fix reboot timeout in dhcpcd.conf. X-Git-Tag: v5.0.0~250 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c957ca3d31c126fbd173f1191712687068a47c8;p=thirdparty%2Fdhcpcd.git Fix reboot timeout in dhcpcd.conf. --- diff --git a/if-options.c b/if-options.c index da16e4c2..26fef059 100644 --- a/if-options.c +++ b/if-options.c @@ -46,10 +46,6 @@ #include "if-options.h" #include "net.h" -/* Don't set any optional arguments here so we retain POSIX - * compatibility with getopt */ -#define OPTS "bc:df:h:i:kl:m:no:pqr:s:t:u:v:xy:z:ABC:DEF:GI:KLO:Q:TVX:Z:" - const struct option cf_options[] = { {"background", no_argument, NULL, 'b'}, {"script", required_argument, NULL, 'c'}, diff --git a/if-options.h b/if-options.h index 80f788da..62f65da3 100644 --- a/if-options.h +++ b/if-options.h @@ -37,7 +37,7 @@ /* Don't set any optional arguments here so we retain POSIX * compatibility with getopt */ -#define IF_OPTS "bc:df:h:i:kl:m:no:pqr:s:t:u:v:xz:ABC:DEF:GI:KLO:Q:TVX:Z:" +#define IF_OPTS "bc:df:h:i:kl:m:no:pqr:s:t:u:v:xy:z:ABC:DEF:GI:KLO:Q:TVX:Z:" #define DEFAULT_TIMEOUT 30 #define DEFAULT_REBOOT 10