Explorar el Código

use pkill instead of pidof

Waldemar Brodkorb hace 15 años
padre
commit
6b6b7abab1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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