1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Create a symbolic link /dev/vga -> /dev/ttyv0.

We can't remove the sourcing of /etc/rc.devfs yet in case the user
might have custom entries in it. We will have to come up with an
/etc/devfs.rules or something to make this kind of thing easier.

Approved by:	markm (mentor)(implicit)
This commit is contained in:
Mike Makonnen 2003-05-02 08:10:58 +00:00
parent 560bb4f8b6
commit 994336cdd9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114516

View File

@ -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