aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/watchdog/README.SLACKWARE8
-rw-r--r--system/watchdog/watchdog.SlackBuild3
-rw-r--r--system/watchdog/watchdog.info2
3 files changed, 10 insertions, 3 deletions
diff --git a/system/watchdog/README.SLACKWARE b/system/watchdog/README.SLACKWARE
index 8327e4357f16..f42f4760435b 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 3ce4c971ec8b..b5348407a779 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 300b27587479..c93679d0a4c8 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"