From 6b6b7abab1ffe76a87fd46623c1d026d4f25862f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 2 Jul 2010 11:27:03 +0200 Subject: use pkill instead of pidof --- package/busybox/files/crond.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/busybox/files/crond.init') 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 -- cgit v1.2.3