#! /bin/sh
#
# cron          Start/Stop the cron clock daemon.
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               Modified for RHS Linux by Damien Neil
#

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
  start)
	echo -n "Starting cron daemon: "
	daemon crond
	echo
	touch /var/lock/subsys/cron
	;;
  stop)
	echo -n "Stopping cron daemon: "
	killproc crond
	echo
	rm -f /var/lock/subsys/cron
	;;
  *)
	echo "Usage: cron {start|stop}"
	exit 1
esac

exit 0
