* Merged newxml into HEAD
[linux_from_scratch.git] / bootscripts / blfs / init.d / fcron
blobcbd29a0fff4e1a9b7b0aeb3c35a3b3a3d159873c
1 #!/bin/sh
2 # Begin $rc_base/init.d/fcron
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
7 . /etc/sysconfig/rc
8 . $rc_functions
10 case "$1" in
11 start)
12 echo "Starting fcron..."
13 loadproc fcron
16 stop)
17 echo "Stopping fcron..."
18 killproc fcron
21 restart)
22 $0 stop
23 sleep 1
24 $0 start
27 status)
28 statusproc fcron
32 echo "Usage: $0 {start|stop|restart|status}"
33 exit 1
35 esac
37 # End $rc_base/init.d/fcron