aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-06 19:13:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-06 19:13:40 +0000
commit4af390ee76a2a9b736bdf8452d2822dc664c6078 (patch)
tree30ba19dcdf7f42f5b37d1dd6e73f6c2f8a230157 /package/base-files/files
parenta5938cfbb39489444a1396122779fe98642b4063 (diff)
downloadupstream-4af390ee76a2a9b736bdf8452d2822dc664c6078.tar.gz
upstream-4af390ee76a2a9b736bdf8452d2822dc664c6078.tar.bz2
upstream-4af390ee76a2a9b736bdf8452d2822dc664c6078.zip
add vga console support for x86-2.6 images (fixes #1342, #840)
SVN-Revision: 6530
Diffstat (limited to 'package/base-files/files')
-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