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