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>
This commit is contained in:
Hans Dedecker 2016-05-09 18:22:38 +02:00 committed by Jo-Philipp Wich
parent ef6d6661e2
commit f9a3123bbf

View file

@ -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} \