diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-10-20 02:24:38 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-10-20 10:50:47 -0500 |
commit | e58328b7aa0ec5aa604223a9bf8fbce5ef4d2250 (patch) | |
tree | 80225d5b545f352003bacbf873050c8620073fb8 /system/watchdog | |
parent | 227ba3164f439ddf231f8204602e50cf55902e74 (diff) | |
download | slackbuilds-e58328b7aa0ec5aa604223a9bf8fbce5ef4d2250.tar.gz |
system/watchdog: Minor fixes; thanks to Chris Abela.
Diffstat (limited to 'system/watchdog')
-rw-r--r-- | system/watchdog/README.SLACKWARE | 8 | ||||
-rw-r--r-- | system/watchdog/watchdog.SlackBuild | 3 | ||||
-rw-r--r-- | system/watchdog/watchdog.info | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/system/watchdog/README.SLACKWARE b/system/watchdog/README.SLACKWARE index 8327e4357f..f42f476043 100644 --- a/system/watchdog/README.SLACKWARE +++ b/system/watchdog/README.SLACKWARE @@ -1,10 +1,10 @@ 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/char/watchdog + /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-5.6/examples +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 @@ -13,6 +13,10 @@ 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 diff --git a/system/watchdog/watchdog.SlackBuild b/system/watchdog/watchdog.SlackBuild index 3ce4c971ec..b5348407a7 100644 --- a/system/watchdog/watchdog.SlackBuild +++ b/system/watchdog/watchdog.SlackBuild @@ -74,6 +74,9 @@ mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new # Add init script too install -D -m755 $CWD/config/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new +# Install the repair script +install -D -m755 examples/repair.sh $PKG/usr/sbin/repair + find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done diff --git a/system/watchdog/watchdog.info b/system/watchdog/watchdog.info index 300b275874..c93679d0a4 100644 --- a/system/watchdog/watchdog.info +++ b/system/watchdog/watchdog.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Menno Duursma" EMAIL="druiloor@zonnet.nl" -APPROVED="dsomero" +APPROVED="Erik Hanson" |