8 # description: Runs commands scheduled by the at command at the time \
9 # specified when at was run, and runs batch commands when the load \
10 # average is low enough.
13 # Source function library.
14 . /etc/rc.d/init.d/functions
16 test -x /usr/sbin/atd || exit 0
18 # See how we were called.
22 # Check if atd is already running
23 if [ ! -f /var/lock/subsys/atd ]; then
24 show Starting at daemon
26 touch /var/lock/subsys/atd
30 show Stopping at daemon
32 rm -f /var/lock/subsys/atd
42 echo "Usage: $0 {start|stop|restart|reload|status}"