summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $*