summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-06 19:13:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-06 19:13:40 +0000
commit6af5ae98a3da81106d842dcaa72cd6c9bcc38488 (patch)
tree0961ccf3a4053a6ee4bb704acc44fe992b7201c5 /package/base-files/files/sbin
parent8bc0c5705159c15b1e6b3165733f591ecdf66fb4 (diff)
add vga console support for x86-2.6 images (fixes #1342, #840)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6530 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin')
-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