diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-03 22:32:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-03 22:32:13 +0000 |
commit | c96e173c287dcbce1813420940e79900f030c467 (patch) | |
tree | 0ec42c4bfa21f6367f247aa3200ff9af1c3d056b /target/linux | |
parent | df228a5d999ae01431f2d2bac37e312468d8edc9 (diff) | |
download | upstream-c96e173c287dcbce1813420940e79900f030c467.tar.gz upstream-c96e173c287dcbce1813420940e79900f030c467.tar.bz2 upstream-c96e173c287dcbce1813420940e79900f030c467.zip |
add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/x86-2.6/base-files/default/etc/preinit.arch | 2 | ||||
-rw-r--r-- | target/linux/x86-2.6/image/grub/menu.lst | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/x86-2.6/base-files/default/etc/preinit.arch b/target/linux/x86-2.6/base-files/default/etc/preinit.arch new file mode 100644 index 0000000000..f29f0d448b --- /dev/null +++ b/target/linux/x86-2.6/base-files/default/etc/preinit.arch @@ -0,0 +1,2 @@ +mount -t proc none /proc +grep 'failsafe=' /proc/cmdline && export FAILSAFE=true diff --git a/target/linux/x86-2.6/image/grub/menu.lst b/target/linux/x86-2.6/image/grub/menu.lst index 590a7d5e3a..f9d28438f8 100644 --- a/target/linux/x86-2.6/image/grub/menu.lst +++ b/target/linux/x86-2.6/image/grub/menu.lst @@ -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 |