summaryrefslogtreecommitdiffstats
path: root/fs/initramfs/init
diff options
context:
space:
mode:
Diffstat (limited to 'fs/initramfs/init')
-rwxr-xr-xfs/initramfs/init4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/initramfs/init b/fs/initramfs/init
new file mode 100755
index 000000000..751cb270f
--- /dev/null
+++ b/fs/initramfs/init
@@ -0,0 +1,4 @@
+#!/bin/sh
+# devtmpfs does not get automounted for initramfs
+/bin/mount -t devtmpfs devtmpfs /dev
+exec /sbin/init $*