summaryrefslogtreecommitdiff
path: root/target/linux/x86-2.6/base-files/default/etc/preinit.arch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-03 22:32:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-03 22:32:13 +0000
commitc96e173c287dcbce1813420940e79900f030c467 (patch)
tree0ec42c4bfa21f6367f247aa3200ff9af1c3d056b /target/linux/x86-2.6/base-files/default/etc/preinit.arch
parentdf228a5d999ae01431f2d2bac37e312468d8edc9 (diff)
downloadmtk-20170518-c96e173c287dcbce1813420940e79900f030c467.zip
mtk-20170518-c96e173c287dcbce1813420940e79900f030c467.tar.gz
mtk-20170518-c96e173c287dcbce1813420940e79900f030c467.tar.bz2
add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
SVN-Revision: 6481
Diffstat (limited to 'target/linux/x86-2.6/base-files/default/etc/preinit.arch')
-rw-r--r--target/linux/x86-2.6/base-files/default/etc/preinit.arch2
1 files changed, 2 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 0000000..f29f0d4
--- /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