]>
git.ipfire.org Git - people/mfischer/ipfire-2.x.git/blob - src/initscripts/packages/watchdog
2 ########################################################################
3 # Begin $rc_base/init.d/watchdog
5 # Description : watchdog daemon initscript
7 ########################################################################
12 if [ -e "/etc/sysconfig/watchdog" ]; then
13 .
/etc
/sysconfig
/watchdog
18 if [ -n "${watchdog_module}" ]; then
19 modprobe
-q "${watchdog_module}" 2>/dev
/null
22 boot_mesg
"Starting watchdog daemon..."
23 loadproc
/usr
/sbin
/watchdog
${watchdog_options}
27 boot_mesg
"Stopping watchdog daemon..."
28 killproc
/usr
/sbin
/watchdog
38 statusproc
/usr
/sbin
/watchdog
42 echo "Usage: ${0} {start|stop|restart|status}"
47 # End $rc_base/init.d/watchdog