diff options
Diffstat (limited to 'package/olsrd/files/olsrd.init')
-rw-r--r-- | package/olsrd/files/olsrd.init | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/olsrd/files/olsrd.init b/package/olsrd/files/olsrd.init index 4d348d88f..f74aa35d8 100644 --- a/package/olsrd/files/olsrd.init +++ b/package/olsrd/files/olsrd.init @@ -11,7 +11,10 @@ autostart) exec sh $0 start ;; start) - olsrd + /usr/sbin/olsrd + ;; +stop) + kill $(pgrep -f /usr/sbin/olsrd) ;; restart) sh $0 stop |