Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
[linux_from_scratch.git] / bootscripts / contrib / new-boot-0.2 / sbin / init.d / runlevel.2 / fcron
blob424a87356b3f80f2a0448c6207b20924260fe038
1 #!/bin/sh
2 #
3 # start fcron daemon
6 #locate and source functions script
7 source `PATH=$INIT_D/:/sbin/init.d:/etc/init.d:/etc/rc.d type -p functions`
9 case "$1" in
10 start)
11 need $mounted_filesystems || exit_if_any_error
13 echo 'Starting fcron daemon...'
14 loadproc fcron -b || exit_if_any_error
16 stop)
17 echo 'Stopping fcron daemon...'
18 killproc fcron
20 reload)
21 echo 'Reinitializing fcron...'
22 reloadproc fcron
24 status)
25 statusproc fcron
26 ;;
28 exit 1
30 esac
32 exit 0