summaryrefslogtreecommitdiff
path: root/system/watchdog/README.SLACKWARE
blob: f42f4760435bf66adc11a7eeba74256db46477a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
For this to work, a kernel driver for the aformentioned device needs
to be loaded.  The module may be found in:
  /lib/modules/`uname -r`/kernel/drivers/watchdog

It can be configured to try and fix things (such as networking)
before triggering a reboot. As 'repair.sh' may be able to do.
See the examples included in /usr/doc/watchdog-*/examples

This package also contains the 'wd_keepalive' program by Marcel Jansen
which "can be run during critical periods when the normal watcdog
shouldn't be run. It will read from the same configuration file;
it will do no checks but will keep writing to the device.

To enable the watchdog: make sure a kernel module gets loaded for it
(at boot) such as the 'softdog' or an actual hardware driver... 

If you don't understand what this is all about, maybe watch:
http://www.youtube.com/watch?v=GV_1p3n1fkU

Then add the following to rc.local:

# Start the watchdog timer deamon
if [ -x /etc/rc.d/rc.watchdog ]; then
  /etc/rc.d/rc.watchdog start
fi