summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/devfs
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/devfs')
-rw-r--r--etc/rc.d/devfs7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.d/devfs b/etc/rc.d/devfs
index e8fae94..313a294 100644
--- a/etc/rc.d/devfs
+++ b/etc/rc.d/devfs
@@ -15,6 +15,13 @@ load_rc_config $name
# Setup DEVFS, ie permissions, links etc.
#
+if [ -c /dev/ttyv0 -a ! -e /dev/vga ];then
+ ln -fs /dev/ttyv0 /dev/vga
+fi
+
+# XXX - in case the user has a customized /etc/rc.devfs we need to keep
+# pulling it in until we have a better way of doing this in rc.d.
+#
if [ -r /etc/rc.devfs ]; then
sh /etc/rc.devfs
fi
OpenPOWER on IntegriCloud