From: Harald Hoyer Date: Wed, 27 Jun 2012 15:03:58 +0000 (+0200) Subject: watchdog: call watchdog more often X-Git-Tag: 020~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08084370fdc67d90ef335e0e4a4af0b5546071d6;p=thirdparty%2Fdracut.git watchdog: call watchdog more often --- diff --git a/modules.d/04watchdog/module-setup.sh b/modules.d/04watchdog/module-setup.sh index eb4614359..8b8c09b73 100755 --- a/modules.d/04watchdog/module-setup.sh +++ b/modules.d/04watchdog/module-setup.sh @@ -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" } diff --git a/modules.d/04watchdog/watchdog.sh b/modules.d/04watchdog/watchdog.sh index 712969f48..ed8cc930e 100755 --- a/modules.d/04watchdog/watchdog.sh +++ b/modules.d/04watchdog/watchdog.sh @@ -1,5 +1,6 @@ #!/bin/sh if [ -e /dev/watchdog ]; then + info "Triggering watchdog" >/dev/watchdog else modprobe ib700wdt