diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-02 11:27:03 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-02 11:27:03 +0200 |
commit | 6b6b7abab1ffe76a87fd46623c1d026d4f25862f (patch) | |
tree | 2297a7b65099ef323ca2bfda37ad7f9b091ea5f0 | |
parent | a52365be5b33b81023f238c972a9172029af0f36 (diff) |
use pkill instead of pidof
-rw-r--r-- | package/busybox/files/crond.init | 2 |
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 |