package/libxslt: fix static build
[buildroot-gz.git] / package / dcron / S90dcron
blobde21d2ca1385ac96f175314973adb964d4495b1c
1 #!/bin/sh
3 case "$1" in
4 start)
5 printf "Starting cron ... "
6 start-stop-daemon -S -q -m -b -p /var/run/dcron.pid --exec /usr/sbin/crond -- -f
7 echo "done."
8 ;;
9 stop)
10 printf "Stopping cron ..."
11 start-stop-daemon -K -q -p /var/run/dcron.pid
12 echo "done."
14 restart)
15 $0 stop
16 sleep 1
17 $0 start
20 echo "usage: $0 {start|stop|restart}"
22 esac