summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinitramfs/initrd-stuff/init3
1 files changed, 2 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index b5388e4b..02e2ecad 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -206,7 +206,8 @@ if [ "${DEBUGLEVEL}" -lt 4 ] ; then
#!/bin/${shtype}sh
echo \$$ > /tmp/watchdogpid
[ ! -f /proc/version ] && mount -n -t proc proc /proc
-sleep 120
+. /etc/functions
+sleep 120 2> /dev/null
echo "o" > /proc/sysrq-trigger
EOF
chmod u+x /bin/watchdog