summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/generic-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-07 23:59:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-07 23:59:04 +0000
commitde93bede138129886115d2597b32e34fb7b06ad4 (patch)
tree3ee1ce8112221d05f5491826997d52f45e75d726 /openwrt/target/linux/generic-2.6
parentce3f164ea0ded53a181d04da5b12ec163e754046 (diff)
downloadmtk-20170518-de93bede138129886115d2597b32e34fb7b06ad4.zip
mtk-20170518-de93bede138129886115d2597b32e34fb7b06ad4.tar.gz
mtk-20170518-de93bede138129886115d2597b32e34fb7b06ad4.tar.bz2
make ramdisk support generic, some cleanups
SVN-Revision: 3911
Diffstat (limited to 'openwrt/target/linux/generic-2.6')
-rwxr-xr-xopenwrt/target/linux/generic-2.6/files/init3
-rwxr-xr-xopenwrt/target/linux/generic-2.6/files/init.d/S00initramfs4
2 files changed, 7 insertions, 0 deletions
diff --git a/openwrt/target/linux/generic-2.6/files/init b/openwrt/target/linux/generic-2.6/files/init
new file mode 100755
index 0000000..8ca48a0
--- /dev/null
+++ b/openwrt/target/linux/generic-2.6/files/init
@@ -0,0 +1,3 @@
+#!/bin/ash
+mount none /dev -t devfs
+exec /bin/busybox init
diff --git a/openwrt/target/linux/generic-2.6/files/init.d/S00initramfs b/openwrt/target/linux/generic-2.6/files/init.d/S00initramfs
new file mode 100755
index 0000000..9836de4
--- /dev/null
+++ b/openwrt/target/linux/generic-2.6/files/init.d/S00initramfs
@@ -0,0 +1,4 @@
+#!/bin/sh
+mount none /proc -t proc
+mount_root failsafe
+mount -o remount,rw /dev/root /