diff options
author | dd <dd@FreeBSD.org> | 2001-04-28 20:56:53 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-04-28 20:56:53 +0000 |
commit | 3c3005df454f65d89d8de2f6835435167362a47c (patch) | |
tree | e89d86bd3eebc2cb34d0791a1847147eae85dd33 /etc/rc.d | |
parent | 4955c200ba72f919b678a7967252d672e2e50c8a (diff) | |
download | FreeBSD-src-3c3005df454f65d89d8de2f6835435167362a47c.zip FreeBSD-src-3c3005df454f65d89d8de2f6835435167362a47c.tar.gz |
Add an allscreens_kbdflags option. Same thing as allscreens_flags,
but runs kbdcontrol instead of vidcontrol.
Reviewed by: ru
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/syscons | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc.d/syscons b/etc/rc.d/syscons index cb69a26..f8c5c6c 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 '.' |