Date: Fri, 17 Jan 1997 19:49:04 -0800 (PST) From: Jonathan Mini <mini@hydrogen.nike.efn.org> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/2519: Message-ID: <199701180349.TAA10284@hydrogen.nike.efn.org> Resent-Message-ID: <199701180350.TAA19118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2519
>Category: conf
>Synopsis:
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 17 19:50:01 PST 1997
>Last-Modified:
>Originator: Jonathan Mini
>Organization:
>Release: FreeBSD 2.2-960801-SNAP i386
>Environment:
>Description:
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.
>How-To-Repeat:
Just try to set some mythical optino in /etc/sysconfig. You'll find it isn't
there. =)
>Fix:
Apply this patch :
Index: etc/sysconfig
===================================================================
RCS file: /usr/cvs/src/etc/sysconfig,v
retrieving revision 1.57
diff -c -r1.57 sysconfig
*** sysconfig 1997/01/14 05:44:42 1.57
--- sysconfig 1997/01/18 03:24:23
***************
*** 28,33 ****
--- 28,36 ----
# 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
Index: etc/etc.i386/rc.i386
===================================================================
RCS file: /usr/cvs/src/etc/etc.i386/rc.i386,v
retrieving revision 1.19
diff -c -r1.19 rc.i386
*** rc.i386 1997/01/14 05:44:54 1.19
--- rc.i386 1997/01/18 03:30:43
***************
*** 44,49 ****
--- 44,54 ----
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"
>Audit-Trail:
>Unformatted:
Jonathan Mini
/etc/sysconfig does allow you to set the bell type/style on boot.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701180349.TAA10284>
