Try handling lack of syscons (for diskless boot, or other) by

testing for the presence of /dev/ttyv0.

PR:		misc/39351
Submitted by:	Dirk-Willem van Gulik <dirkx@covalent.net>
This commit is contained in:
Doug Barton 2002-06-16 20:59:16 +00:00
parent eb38329015
commit e5f35c947b

View File

@ -33,6 +33,12 @@
kbddev=/dev/ttyv0
viddev=/dev/ttyv0
# Handle diskless boots, and other situations where syscons is not present
#
if [ ! -c "${kbddev}" ]; then
exit 0
fi
echo -n 'Configuring syscons:'
# keymap