summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin/mount_root
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/sbin/mount_root')
-rwxr-xr-xpackage/base-files/files/sbin/mount_root1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/mount_root b/package/base-files/files/sbin/mount_root
index dd9d99d8e6..47babf14f8 100755
--- a/package/base-files/files/sbin/mount_root
+++ b/package/base-files/files/sbin/mount_root
@@ -11,6 +11,7 @@ else
mount -t sysfs none /sys
mount -t tmpfs tmpfs /dev -o size=512K
mknod /dev/console c 5 1
+ exec >/dev/console </dev/console 2>&1
mkdir /dev/shm
/sbin/hotplug2 --no-persistent --coldplug
fi