mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Add an allscreens_kbdflags option. Same thing as allscreens_flags,
but runs kbdcontrol instead of vidcontrol. Reviewed by: ru
This commit is contained in:
parent
344553425e
commit
ac25a66fb3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76110
@ -297,6 +297,7 @@ mousechar_start="NO" # if 0xd0-0xd3 default range is occuped in your
|
||||
# language code table, specify alternative range
|
||||
# start like mousechar_start=3, see vidcontrol(1)
|
||||
allscreens_flags="" # Set this vidcontrol mode for all virtual screens
|
||||
allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens
|
||||
|
||||
|
||||
##############################################################
|
||||
|
@ -180,4 +180,13 @@ if [ -n "${allscreens_flags}" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# set this keyboard more for all virtual terminals
|
||||
#
|
||||
if [ -n "${allscreens_kbdflags}" ]; then
|
||||
echo -n ' allscreens_kbd'
|
||||
for ttyv in /dev/ttyv*; do
|
||||
kbdcontrol ${allscreens_kbdflags} < ${ttyv} > ${ttyv} 2>&1
|
||||
done
|
||||
fi
|
||||
|
||||
echo '.'
|
||||
|
@ -180,4 +180,13 @@ if [ -n "${allscreens_flags}" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# set this keyboard more for all virtual terminals
|
||||
#
|
||||
if [ -n "${allscreens_kbdflags}" ]; then
|
||||
echo -n ' allscreens_kbd'
|
||||
for ttyv in /dev/ttyv*; do
|
||||
kbdcontrol ${allscreens_kbdflags} < ${ttyv} > ${ttyv} 2>&1
|
||||
done
|
||||
fi
|
||||
|
||||
echo '.'
|
||||
|
Loading…
Reference in New Issue
Block a user