Browse Source

use pkill instead of pidof

Waldemar Brodkorb 14 years ago
parent
commit
6b6b7abab1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/busybox/files/crond.init

+ 1 - 1
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