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:
parent
eb38329015
commit
e5f35c947b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user