Add udhcpc command-line argument to request rootpath
SVN-Revision: 18876
This commit is contained in:
parent
f0ada687f0
commit
406a4a885d
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ setup_interface() {
|
|||
# don't stay running in background if dhcp is not the main proto on the interface (e.g. when using pptp)
|
||||
local dhcpopts
|
||||
[ ."$proto1" != ."$proto" ] && dhcpopts="-n -q"
|
||||
$DEBUG eval udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} ${clientid:+-c $clientid} -b -p "$pidfile" ${dhcpopts:- -R &}
|
||||
$DEBUG eval udhcpc -t 0 -i "$iface" ${ipaddr:+-r $ipaddr} ${hostname:+-H $hostname} ${clientid:+-c $clientid} -b -p "$pidfile" ${dhcpopts:- -O rootpath -R &}
|
||||
lock -u "/var/lock/dhcp-$iface"
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue