#! /bin/sh
#
# cron: start or stop cron.

case "$1" in
start)
    need filesystems
    if [ -x /usr/sbin/cron ]; then
	echo "starting cron"
	/usr/sbin/cron
    fi
    ;;
stop)
    if test -r /var/run/cron.pid; then
	echo "stopping cron"
	PID=`cat /var/run/cron.pid`
	${PID:+kill $PID}
    fi
    ;;
info)
    echo "scheduled command services (CRON)"
    ;;
*)
    echo "usage: $0 {start|stop}"
    ;;
esac
