From mini@hydrogen.nike.efn.org  Fri Jan 17 19:49:45 1997
Received: from hydrogen.nike.efn.org (metriclient-5.uoregon.edu [128.223.172.5])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id TAA19085
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Jan 1997 19:49:42 -0800 (PST)
Received: (from mini@localhost)
          by hydrogen.nike.efn.org (8.8.4/8.8.4)
	  id TAA10284; Fri, 17 Jan 1997 19:49:04 -0800 (PST)
Message-Id: <199701180349.TAA10284@hydrogen.nike.efn.org>
Date: Fri, 17 Jan 1997 19:49:04 -0800 (PST)
From: Jonathan Mini <mini@hydrogen.nike.efn.org>
Reply-To: mini@hydrogen.nike.efn.org
To: FreeBSD-gnats-submit@freebsd.org
Subject:
X-Send-Pr-Version: 3.2

>Number:         2519
>Category:       conf
>Synopsis:       
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 17 19:50:01 PST 1997
>Closed-Date:    Fri Jan 24 02:12:37 PST 1997
>Last-Modified:  Fri Jan 24 02:13:33 PST 1997
>Originator:     Jonathan Mini
>Release:        FreeBSD 2.2-960801-SNAP i386
>Organization:
>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"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Fri Jan 24 02:12:37 PST 1997 
State-Changed-Why:  
Fix accepted, thanks! 
>Unformatted:
Jonathan Mini
/etc/sysconfig does allow you to set the bell type/style on boot.
