mirror of
https://git.busybox.net/udhcp
synced 2025-10-14 01:59:23 +08:00
added nak script support
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
0.9.7 (pending)
|
||||
+ Added script hook for DHCPNAK (nak), as well as providing the message option
|
||||
(me)
|
||||
+ Generate the paramaters request list by seeing what options in options.c are
|
||||
ored with OPTION_REQ in options.c
|
||||
+ Fix dhcp renew forgetfullness on client (bug #1230)
|
||||
|
7
README
7
README
@@ -96,6 +96,12 @@ are:
|
||||
will not change, however, the other DHCP paramaters, such as the
|
||||
default gateway, subnet mask, and dns server may change.
|
||||
|
||||
nak: This argument is used with udhcpc receives a NAK message.
|
||||
The script with the deconfig argument will be called directly
|
||||
afterwards, so no changes to the network interface are neccessary.
|
||||
This hook is provided for purely informational purposes (the
|
||||
message option may contain a reason for the NAK).
|
||||
|
||||
The paramaters for enviromental variables are as follows:
|
||||
|
||||
$HOME - The set $HOME env or "/"
|
||||
@@ -128,6 +134,7 @@ The paramaters for enviromental variables are as follows:
|
||||
lease - The lease time, in seconds
|
||||
dhcptype - DHCP message type (safely ignored)
|
||||
serverid - The IP of the server
|
||||
message - Reason for a DHCPNAK
|
||||
tftp - The TFTP server name
|
||||
bootfile - The bootfile name
|
||||
|
||||
|
Reference in New Issue
Block a user