1
0
Quellcode durchsuchen

use pkill instead of pidof

Waldemar Brodkorb vor 15 Jahren
Ursprung
Commit
6b6b7abab1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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