From f76e99c2f9e253a184af216a42d86b66b8640c0e Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 22 Dec 2006 00:16:07 +0000 Subject: Fix for non-busybox watchdog (or should we add (u)sleep to the initramfs too?) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@580 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'initramfs/initrd-stuff/init') 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 -- cgit v1.2.3-55-g7522