odhcpd: enable ipv6 server mode only when it is supported
[openwrt/.git] / package / network / services / odhcpd / files / odhcpd-update
index 20980f2228cbffd32608b4fc29733ea363784f8d..9bc7abcc1c3a85c77a3e8b791393768f7afec570 100755 (executable)
@@ -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