CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / dcron / crond
CommitLineData
6dca1d21
JB
1#!/bin/sh
2#
3# /etc/rc.d/crond: start/stop cron daemon
4#
5
6case $1 in
7start)
8 /usr/sbin/crond >> /var/log/cron 2>&1
9 ;;
10stop)
11 killall -q /usr/sbin/crond
12 ;;
13restart)
14 $0 stop
15 sleep 2
16 $0 start
17 ;;
18*)
19 echo "usage: $0 [start|stop|restart]"
20 ;;
21esac
22
23# End of file