summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-05-09 18:22:38 +0200
committerJo-Philipp Wich <jo@mein.io>2016-05-11 16:46:17 +0200
commitf9a3123bbf628906b0a583ad9c3e306a8bb5e2b2 (patch)
tree4b579fd8b92f0619eb2bb0f18294fcb43a9190bc /package
parentef6d6661e2c2584c5798b2783e6cfe2384215d3a (diff)
downloadmtk-20170518-f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2.zip
mtk-20170518-f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2.tar.gz
mtk-20170518-f9a3123bbf628906b0a583ad9c3e306a8bb5e2b2.tar.bz2
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')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/proto/dhcp.sh2
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 7f4af25..7085bd2 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} \