diff options
author | Dirk von Suchodoletz | 2006-12-22 01:16:07 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-12-22 01:16:07 +0100 |
commit | f76e99c2f9e253a184af216a42d86b66b8640c0e (patch) | |
tree | 81fe9da53bdcaff893d61c07237c09307d600545 /initramfs/initrd-stuff/init | |
parent | Kill the "watchdog" properly at the end of init (stage3). (diff) | |
download | core-f76e99c2f9e253a184af216a42d86b66b8640c0e.tar.gz core-f76e99c2f9e253a184af216a42d86b66b8640c0e.tar.xz core-f76e99c2f9e253a184af216a42d86b66b8640c0e.zip |
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
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-x | initramfs/initrd-stuff/init | 3 |
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 |