projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: Send DHCP release when client exits
[openwrt/staging/chunkeey.git]
/
package
/
network
/
config
/
netifd
/
files
/
lib
/
netifd
/
proto
/
dhcp.sh
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 0e88af9e96ad85e7c51ff0b497ce71342d2d1568..546e1d661a788988064fed50a564ec2680f81476 100755
(executable)
--- a/
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/
package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
@@
-52,7
+52,7
@@
proto_dhcp_setup() {
proto_run_command "$config" udhcpc \
-p /var/run/udhcpc-$iface.pid \
-s /lib/netifd/dhcp.script \
- -f -t 0 -i "$iface" \
+ -f -
R -
t 0 -i "$iface" \
${ipaddr:+-r $ipaddr} \
${hostname:+-H $hostname} \
${vendorid:+-V $vendorid} \