mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 17:24:23 +01: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98306
@ -33,6 +33,12 @@
|
|||||||
kbddev=/dev/ttyv0
|
kbddev=/dev/ttyv0
|
||||||
viddev=/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:'
|
echo -n 'Configuring syscons:'
|
||||||
|
|
||||||
# keymap
|
# keymap
|
||||||
|
Loading…
Reference in New Issue
Block a user