Move all to deprecated folder.
This commit is contained in:
22
deprecated/firmware/buildroot/package/dcron/S90dcron
Normal file
22
deprecated/firmware/buildroot/package/dcron/S90dcron
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
printf "Starting cron ... "
|
||||
start-stop-daemon -S -q -m -b -p /var/run/dcron.pid --exec /usr/sbin/crond -- -f
|
||||
echo "done."
|
||||
;;
|
||||
stop)
|
||||
printf "Stopping cron ..."
|
||||
start-stop-daemon -K -q -p /var/run/dcron.pid
|
||||
echo "done."
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 {start|stop|restart}"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user