summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-02 11:27:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-02 11:27:03 +0200
commit6b6b7abab1ffe76a87fd46623c1d026d4f25862f (patch)
tree2297a7b65099ef323ca2bfda37ad7f9b091ea5f0
parenta52365be5b33b81023f238c972a9172029af0f36 (diff)
use pkill instead of pidof
-rw-r--r--package/busybox/files/crond.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/files/crond.init b/package/busybox/files/crond.init
index 208479c6d..dcccb7fca 100644
--- a/package/busybox/files/crond.init
+++ b/package/busybox/files/crond.init
@@ -14,7 +14,7 @@ start)
crond -c /etc/crontabs
;;
stop)
- kill $(pidof crond|cut -d ' ' -f 3)
+ pkill crond
;;
restart)
sh $0 stop