watchdog: call watchdog more often

master
Harald Hoyer 2012-06-27 17:03:58 +02:00
parent 70c6b773ca
commit 08084370fd
2 changed files with 4 additions and 0 deletions

View File

@ -17,7 +17,10 @@ install() {
inst_hook initqueue 00 "$moddir/watchdog.sh"
inst_hook mount 00 "$moddir/watchdog.sh"
inst_hook mount 50 "$moddir/watchdog.sh"
inst_hook mount 99 "$moddir/watchdog.sh"
inst_hook pre-pivot 00 "$moddir/watchdog.sh"
inst_hook pre-pivot 99 "$moddir/watchdog.sh"
inst_hook cleanup 00 "$moddir/watchdog.sh"
inst_hook cleanup 99 "$moddir/watchdog.sh"
}


View File

@ -1,5 +1,6 @@
#!/bin/sh
if [ -e /dev/watchdog ]; then
info "Triggering watchdog"
>/dev/watchdog
else
modprobe ib700wdt