Only create symlink if /dev/ttyv0 exists.

PR:		misc/39381
Submitted by:	Dirk-Willem van Gulik <dirkx@covalent.net>
This commit is contained in:
Doug Barton 2002-06-18 07:14:43 +00:00
parent eebf98659e
commit 02010b74b4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98383

View File

@ -36,4 +36,6 @@ fi
# Setup DEVFS, ie permissions, links etc.
#
ln -fs /dev/ttyv0 /dev/vga
if [ -c /dev/ttyv0 ]; then
ln -fs /dev/ttyv0 /dev/vga
fi