add "-A N" / "--tryagain=N" option to client, to allow altering the

default 60 second wait after failure to get a lease.
This commit is contained in:
Paul Fox 2007-11-07 16:01:28 +00:00
parent 6e1b62b18c
commit 49cce2b838
2 changed files with 13 additions and 4 deletions

View file

@ -3835,6 +3835,8 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
"\n -r,--request=IP IP address to request" \
"\n -s,--script=file Run file at dhcp events (default: /usr/share/udhcpc/default.script)" \
"\n -t,--retries=N Send up to N request packets"\
"\n -T,--timeout=N Try to get a lease for N seconds (default: 3)"\
"\n -A,--tryagain=N Wait N seconds (default: 60) after failure"\
"\n -f,--foreground Run in foreground" \
"\n -b,--background Background if lease cannot be immediately negotiated" \
"\n -S,--syslog Log to syslog too" \
@ -3853,6 +3855,8 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
"\n -r IP IP address to request" \
"\n -s file Run file at dhcp events (default: /usr/share/udhcpc/default.script)" \
"\n -t N Send up to N request packets"\
"\n -T N Try to get a lease for N seconds (default: 3)"\
"\n -A N Wait N seconds (default: 60) after failure"\
"\n -f Run in foreground" \
"\n -b Background if lease cannot be immediately negotiated" \
"\n -S Log to syslog too" \