summaryrefslogtreecommitdiff
path: root/package/watchdog/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
commit0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch)
tree8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/watchdog/files
parent845317b460ee99ad633534cad4de72404af7e30b (diff)
fix startup scripts, fix stop routine
Diffstat (limited to 'package/watchdog/files')
-rw-r--r--package/watchdog/files/watchdog.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/watchdog/files/watchdog.init b/package/watchdog/files/watchdog.init
index 5c3351d6b..6e104fbcf 100644
--- a/package/watchdog/files/watchdog.init
+++ b/package/watchdog/files/watchdog.init
@@ -14,7 +14,7 @@ start)
/usr/sbin/watchdog
;;
stop)
- pkill watchdog
+ kill $(pgrep -f /usr/sbin/watchdog)
;;
restart)
sh $0 stop