udhcpc documentation update
This commit is contained in:
parent
50c00f4b45
commit
ae01fa99e1
@ -34,13 +34,14 @@ address that the server offers.
|
|||||||
udhcp client scripts
|
udhcp client scripts
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
When an event occurs, udhcpc calls the action script. The script by
|
When an event occurs, udhcpc calls the action script. udhcpc never does
|
||||||
default is /usr/share/udhcpc/default.script but this can be changed via
|
any configuration of the network interface itself, but instead relies on
|
||||||
the command line arguments. The three possible arguments to the script
|
a set of scripts. The script by default is
|
||||||
are:
|
/usr/share/udhcpc/default.script but this can be changed via the command
|
||||||
|
line arguments. The three possible arguments to the script are:
|
||||||
|
|
||||||
deconfig: This argument is used when udhcpc starts, and
|
deconfig: This argument is used when udhcpc starts, and
|
||||||
when a leases is lost. The script should put the interface in an
|
when a leases is lost. The script must put the interface in an
|
||||||
up, but deconfigured state, ie: ifconfig $interface 0.0.0.0.
|
up, but deconfigured state, ie: ifconfig $interface 0.0.0.0.
|
||||||
|
|
||||||
bound: This argument is used when udhcpc moves from an
|
bound: This argument is used when udhcpc moves from an
|
||||||
|
Loading…
Reference in New Issue
Block a user