add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6481 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2007-03-03 22:32:13 +00:00
parent 75f543cfc6
commit 95d20db041
5 changed files with 30 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
mount -t proc none /proc
grep 'failsafe=' /proc/cmdline && export FAILSAFE=true

View File

@@ -9,3 +9,7 @@ root (hd0,0)
kernel /boot/vmlinuz @CMDLINE@ noinitrd console=ttyS0,@BAUDRATE@n8 reboot=bios
boot
title OpenWrt (failsafe)
root (hd0,0)
kernel /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd console=ttyS0,@BAUDRATE@n8 reboot=bios
boot