diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-24 10:12:45 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-24 10:12:45 +0000 |
commit | 87972bbebbde67415bf7d15e7ea310f368946be5 (patch) | |
tree | 781c8190d1bfbe06a6a3eff7abe1dc789c93650c | |
parent | 59d748d531a74d6c2828bcf19995d5f5f10febe6 (diff) | |
download | FreeBSD-src-87972bbebbde67415bf7d15e7ea310f368946be5.zip FreeBSD-src-87972bbebbde67415bf7d15e7ea310f368946be5.tar.gz |
As /etc/sysconfig and /etc/rc.i386 is now, you can't modify the syscons
bell type on boot. Slightly annoying when your system doesn't have a speaker.
This adds a `keybell' frob for setting it. Closes PR#2519
Submitted-By: Jonathan Mini <mini@hydrogen.nike.efn.org>
-rw-r--r-- | etc/etc.amd64/rc.amd64 | 5 | ||||
-rw-r--r-- | etc/etc.i386/rc.i386 | 5 | ||||
-rw-r--r-- | etc/sysconfig | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/etc/etc.amd64/rc.amd64 b/etc/etc.amd64/rc.amd64 index 03c3e9a..c2799a4 100644 --- a/etc/etc.amd64/rc.amd64 +++ b/etc/etc.amd64/rc.amd64 @@ -44,6 +44,11 @@ if [ "X${keyrate}" != X"NO" ]; then echo -n ' keyrate'; kbdcontrol <${kbddev} -r ${keyrate} fi +# bell style +if [ "X${keybell}" != X"NO" ]; then + echo -n ' keybell'; kbdcontrol <${kbddev} -b ${keybell} +fi + # change function keys if [ "X${keychange}" != X"NO" ]; then echo -n " keychange" diff --git a/etc/etc.i386/rc.i386 b/etc/etc.i386/rc.i386 index 03c3e9a..c2799a4 100644 --- a/etc/etc.i386/rc.i386 +++ b/etc/etc.i386/rc.i386 @@ -44,6 +44,11 @@ if [ "X${keyrate}" != X"NO" ]; then echo -n ' keyrate'; kbdcontrol <${kbddev} -r ${keyrate} fi +# bell style +if [ "X${keybell}" != X"NO" ]; then + echo -n ' keybell'; kbdcontrol <${kbddev} -b ${keybell} +fi + # change function keys if [ "X${keychange}" != X"NO" ]; then echo -n " keychange" diff --git a/etc/sysconfig b/etc/sysconfig index 43916c2..cef0979 100644 --- a/etc/sysconfig +++ b/etc/sysconfig @@ -28,6 +28,9 @@ keychange=NO # Desired cursor type {normal|blink|destructive}, NO if no change cursor=NO +# Desired cursor type {duration.pitch|normal|visual}, NO if no change +keybell=NO + # Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none) scrnmap=NO |