diff options
| -rw-r--r-- | etc/defaults/rc.conf | 1 | ||||
| -rw-r--r-- | etc/rc.d/syscons | 9 | ||||
| -rw-r--r-- | etc/rc.syscons | 9 |
3 files changed, 19 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 81f38487a7a4..6f38f710bb8a 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -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 ############################################################## diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons index cb69a262eff5..f8c5c6cd814a 100644 --- a/etc/rc.d/syscons +++ b/etc/rc.d/syscons @@ -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 '.' diff --git a/etc/rc.syscons b/etc/rc.syscons index cb69a262eff5..f8c5c6cd814a 100644 --- a/etc/rc.syscons +++ b/etc/rc.syscons @@ -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 '.' |
