diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2009-12-21 10:25:15 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2009-12-21 10:25:15 +0000 |
commit | 406a4a885dc32ed7f5c30370274cc3b86f9434ea (patch) | |
tree | 7b6a2ee9dfba985b3cf4ebbc1fb51077c90ebf79 | |
parent | f0ada687f0d586876be096a452b02abee5880061 (diff) | |
download | upstream-406a4a885dc32ed7f5c30370274cc3b86f9434ea.tar.gz upstream-406a4a885dc32ed7f5c30370274cc3b86f9434ea.tar.bz2 upstream-406a4a885dc32ed7f5c30370274cc3b86f9434ea.zip |
Add udhcpc command-line argument to request rootpath
SVN-Revision: 18876
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index fbbf0e119b..ccdfc38b3d 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -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 ;; |