]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
watchdog: call watchdog more often
authorHarald Hoyer <harald@redhat.com>
Wed, 27 Jun 2012 15:03:58 +0000 (17:03 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 29 Jun 2012 10:41:28 +0000 (12:41 +0200)
modules.d/04watchdog/module-setup.sh
modules.d/04watchdog/watchdog.sh

index eb46143592e761d630eebc475406c693fe1d74cf..8b8c09b73abbe99726c879505e4ffd771a85c602 100755 (executable)
@@ -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"
 }
 
index 712969f482dc5b2f107c01f4b899c7af6f0bd3b2..ed8cc930e4820bd9d3f529e8a303eb2ab77b598a 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh
 if [ -e /dev/watchdog ]; then
+       info "Triggering watchdog"
        >/dev/watchdog
 else
        modprobe ib700wdt