Browse Source

wsconsctl.conf support, wsconsctl accepts saner var names now; raadtified

OPENBSD_3_0
mickey 23 years ago
parent
commit
78d9b8f5a8
3 changed files with 28 additions and 2 deletions
  1. +6
    -1
      src/etc/Makefile
  2. +12
    -1
      src/etc/rc
  3. +10
    -0
      src/etc/wsconsctl.conf

+ 6
- 1
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.128 2001/06/26 18:00:18 brad Exp $
# $OpenBSD: Makefile,v 1.129 2001/07/04 06:34:18 mickey Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@ -22,6 +22,11 @@ BIN1= bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \
shells syslog.conf weekly etc.${MACHINE}/disktab dhclient.conf \
mailer.conf
.if (${MACHINE} == "alpha" || ${MACHINE} == "hppa" || \
${MACHINE} == "i386" || ${MACHINE} == "powerpc")
BIN1+= wsconsctl.conf
.endif
# -rw-rw-r--
BIN2= motd


+ 12
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.177 2001/07/03 03:28:19 deraadt Exp $
# $OpenBSD: rc,v 1.178 2001/07/04 06:34:19 mickey Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -525,6 +525,17 @@ fi
echo '.'
if [ -f /etc/wsconsctl.conf ]; then
(
# delete comments and blank lines
set -- `stripcom /etc/wsconsctl.conf`
while [ $# -ge 1 ] ; do
wsconsctl -w $1
shift
done
)
fi
if [ -f /sbin/kbd -a -f /etc/kbdtype ]; then
kbd `cat /etc/kbdtype`
fi


+ 10
- 0
src/etc/wsconsctl.conf View File

@ -0,0 +1,10 @@
# $OpenBSD: wsconsctl.conf,v 1.1 2001/07/04 06:34:19 mickey Exp $
#
# wscons configurable parameters
#
#keyboard.repeat.del1=200 # change keyboard repeat/delay
#keyboard.repeat.deln=50
#keyboard.encoding=ru # use different keyboard encoding
#display.vblank=on # enable vertical sync blank for screen burner
#display.screen_off=60000 # set screen burner timeout to 60 seconds
#display.msact=off # disable screen unburn w/ mouse

Loading…
Cancel
Save