aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2016-07-20 23:39:17 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-07-20 23:39:17 +0200
commit5d4d8dd2b64a8fe163dd0803f323ab6e9643acee (patch)
tree474da886760bd7e7904036dbcf641a4e3eb2fea5
parent0d4e2cc83f7cfab0cf6a2113c25d438d6688c829 (diff)
downloadmaster-187ad058-5d4d8dd2b64a8fe163dd0803f323ab6e9643acee.tar.gz
master-187ad058-5d4d8dd2b64a8fe163dd0803f323ab6e9643acee.tar.bz2
master-187ad058-5d4d8dd2b64a8fe163dd0803f323ab6e9643acee.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>
-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 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} \