summaryrefslogtreecommitdiff
path: root/package/dhcp-forwarder/files/dhcp-fwd.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/dhcp-forwarder/files/dhcp-fwd.init')
-rw-r--r--package/dhcp-forwarder/files/dhcp-fwd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/dhcp-forwarder/files/dhcp-fwd.init b/package/dhcp-forwarder/files/dhcp-fwd.init
index 1a193f2ae..c69b30cb8 100644
--- a/package/dhcp-forwarder/files/dhcp-fwd.init
+++ b/package/dhcp-forwarder/files/dhcp-fwd.init
@@ -10,10 +10,10 @@ autostart)
exec sh $0 start
;;
start)
- dhcp-fwd
+ /usr/sbin/dhcp-fwd
;;
stop)
- pkill dhcp-fwd
+ kill $(pgrep -f /usr/sbin/dhcp-fwd)
;;
restart)
sh $0 stop