mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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
1 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue