summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/files')
-rwxr-xr-xtarget/linux/generic-2.6/files/init3
-rwxr-xr-xtarget/linux/generic-2.6/files/init.d/S00initramfs4
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/init b/target/linux/generic-2.6/files/init
new file mode 100755
index 000000000..8ca48a04c
--- /dev/null
+++ b/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/target/linux/generic-2.6/files/init.d/S00initramfs b/target/linux/generic-2.6/files/init.d/S00initramfs
new file mode 100755
index 000000000..9836de423
--- /dev/null
+++ b/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 /