summaryrefslogtreecommitdiff
path: root/fs/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/initramfs')
-rwxr-xr-xfs/initramfs/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/initramfs/init b/fs/initramfs/init
index 751cb270f..a27548217 100755
--- a/fs/initramfs/init
+++ b/fs/initramfs/init
@@ -1,4 +1,7 @@
#!/bin/sh
# devtmpfs does not get automounted for initramfs
/bin/mount -t devtmpfs devtmpfs /dev
+exec 0</dev/console
+exec 1>/dev/console
+exec 2>/dev/console
exec /sbin/init $*