]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/icecream
2 ########################################################################
3 # Begin $rc_base/init.d/icecream
5 # Description : This is a script that starts the icecream daemon.
7 # Authors : Michael Tremer (mitch@ipfire.org)
13 ########################################################################
18 #SCHEDULER=minerva.ipfire.org
24 boot_mesg
"Starting Icecream Daemon..."
26 if [ -n "${SCHEDULER}" ]; then
27 ARGS
="${ARGS} -s ${SCHEDULER}"
29 /opt
/icecream
/sbin
/iceccd
${ARGS}
32 if [ "${ENABLE_SCHEDULER}" = "on" ]; then
33 /opt
/icecream
/sbin
/icecc-scheduler
-d
38 boot_mesg
"Stopping Icecream Daemon..."
39 killproc
/opt
/icecream
/sbin
/iceccd
41 if [ "${ENABLE_SCHEDULER}" = "on" ]; then
42 killproc
/opt
/icecream
/sbin
/icecc-scheduler
53 statusproc
/opt
/icecream
/sbin
/iceccd
57 echo "Usage: ${0} {start|stop|reload|restart|status}"
62 # End $rc_base/init.d/icecream