3 # $NetBSD: wdogctl,v 1.3 2009/04/15 21:33:57 joerg Exp $
9 # The watchdog is configured VERY early, so that any problems that
10 # occur during the bootstrap process are protected by the watchdog.
12 $_rc_subr_loaded .
/etc
/rc.subr
17 start_cmd
="watchdog_start"
18 stop_cmd
="watchdog_stop"
19 status_cmd
="watchdog_status"
21 extra_commands
="status"
25 if [ x
"${wdogctl_flags}" = "x" ]; then
26 warn
"\${wdogctl_flags} is not set, watchdog not started"
28 echo "Starting watchdog timer."
29 /sbin
/wdogctl
${wdogctl_flags}
35 echo "Stopping watchdog timer."