projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
odhcpd: enable ipv6 server mode only when it is supported
[openwrt/.git]
/
package
/
network
/
services
/
odhcpd
/
files
/
odhcpd-update
diff --git
a/package/network/services/odhcpd/files/odhcpd-update
b/package/network/services/odhcpd/files/odhcpd-update
index 20980f2228cbffd32608b4fc29733ea363784f8d..9bc7abcc1c3a85c77a3e8b791393768f7afec570 100755
(executable)
--- a/
package/network/services/odhcpd/files/odhcpd-update
+++ b/
package/network/services/odhcpd/files/odhcpd-update
@@
-1,3
+1,6
@@
#!/bin/sh
-# Make dnsmasq reread hostfile
-killall -SIGHUP dnsmasq
+# Make dnsmasq reread hostfile by sending SIGHUP signal
+
+. $IPKG_INSTROOT/lib/functions/procd.sh
+
+procd_send_signal dnsmasq