From: Hans Dedecker Date: Mon, 9 May 2016 16:22:38 +0000 (+0200) Subject: netifd: Remove hardcoded DHCP release option X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2;p=openwrt%2Fstaging%2Fluka.git netifd: Remove hardcoded DHCP release option Remove the udhcpc -R release option as sending a DHCP release is configurable via the uci option release. Signed-off-by: Hans Dedecker --- diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh index 7f4af25329..7085bd2aa6 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -54,7 +54,7 @@ proto_dhcp_setup() { proto_run_command "$config" udhcpc \ -p /var/run/udhcpc-$iface.pid \ -s /lib/netifd/dhcp.script \ - -f -R -t 0 -i "$iface" \ + -f -t 0 -i "$iface" \ ${ipaddr:+-r $ipaddr} \ ${hostname:+-H $hostname} \ ${vendorid:+-V $vendorid} \