diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2016-05-09 18:22:38 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-05-11 16:46:17 +0200 |
commit | f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2 (patch) | |
tree | 4b579fd8b92f0619eb2bb0f18294fcb43a9190bc /package/network/config/netifd/files | |
parent | ef6d6661e2c2584c5798b2783e6cfe2384215d3a (diff) | |
download | upstream-f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2.tar.gz upstream-f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2.tar.bz2 upstream-f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2.zip |
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 <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/config/netifd/files')
-rwxr-xr-x | package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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} \ |