diff options
author | ache <ache@FreeBSD.org> | 1995-03-30 09:39:51 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-03-30 09:39:51 +0000 |
commit | a44e8ddbd2af012afaa39f2f03498bc2f406d6ba (patch) | |
tree | 0d9f7aee0052e2455af5c151322fec6709dc64b4 | |
parent | 3c6276368dd34f0b7c53a6fb2f72bf565f9bc6ac (diff) | |
download | FreeBSD-src-a44e8ddbd2af012afaa39f2f03498bc2f406d6ba.zip FreeBSD-src-a44e8ddbd2af012afaa39f2f03498bc2f406d6ba.tar.gz |
Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
-rw-r--r-- | etc/etc.amd64/rc.amd64 | 19 | ||||
-rw-r--r-- | etc/etc.i386/rc.i386 | 19 |
2 files changed, 34 insertions, 4 deletions
diff --git a/etc/etc.amd64/rc.amd64 b/etc/etc.amd64/rc.amd64 index 1d87cdc..563eae1 100644 --- a/etc/etc.amd64/rc.amd64 +++ b/etc/etc.amd64/rc.amd64 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id$ +# $Id: rc.i386,v 1.1 1995/03/30 06:26:19 rgrimes Exp $ # Do i386 specific processing # @@ -23,11 +23,15 @@ fi kbdadjust=NO vidadjust=NO -[ "X${keymap}" != X"NO" -o "X${keyrate}" != X"NO" ] && kbdadjust=YES +[ "X${keymap}" != X"NO" -o "X${keyrate}" != X"NO" \ + -o "X${keychange}" != X"NO" ] && kbdadjust=YES [ "X${scrnmap}" != X"NO" -o "X${font8x16}" != X"NO" -o \ "X${font8x14}" != X"NO" -o "X${font8x8}" != X"NO" -o \ "X${blanktime}" != X"NO" ] && vidadjust=YES +[ "X${kbdadjust}" != X"NO" -o "X${vidadjust}" != X"NO" -o \ + "X${saver}" != X"NO" ] && { echo; echo "configuring syscons:" } + [ "X${kbdadjust}" != X"NO" ] && echo -n ' [kbdcontrol:' # keymap @@ -40,6 +44,17 @@ if [ "X${keyrate}" != X"NO" ]; then echo -n ' keyrate'; kbdcontrol -r ${keyrate} fi +# change function keys +if [ "X${keychange}" != X"NO" ]; then + echo -n " keychange" + set - ${keychange} + while [ $# -gt 0 ] + do + kbdcontrol -f "$1" "$2" + shift; shift + done +fi + [ "X${kbdadjust}" != X"NO" ] && echo ']' diff --git a/etc/etc.i386/rc.i386 b/etc/etc.i386/rc.i386 index 1d87cdc..563eae1 100644 --- a/etc/etc.i386/rc.i386 +++ b/etc/etc.i386/rc.i386 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id$ +# $Id: rc.i386,v 1.1 1995/03/30 06:26:19 rgrimes Exp $ # Do i386 specific processing # @@ -23,11 +23,15 @@ fi kbdadjust=NO vidadjust=NO -[ "X${keymap}" != X"NO" -o "X${keyrate}" != X"NO" ] && kbdadjust=YES +[ "X${keymap}" != X"NO" -o "X${keyrate}" != X"NO" \ + -o "X${keychange}" != X"NO" ] && kbdadjust=YES [ "X${scrnmap}" != X"NO" -o "X${font8x16}" != X"NO" -o \ "X${font8x14}" != X"NO" -o "X${font8x8}" != X"NO" -o \ "X${blanktime}" != X"NO" ] && vidadjust=YES +[ "X${kbdadjust}" != X"NO" -o "X${vidadjust}" != X"NO" -o \ + "X${saver}" != X"NO" ] && { echo; echo "configuring syscons:" } + [ "X${kbdadjust}" != X"NO" ] && echo -n ' [kbdcontrol:' # keymap @@ -40,6 +44,17 @@ if [ "X${keyrate}" != X"NO" ]; then echo -n ' keyrate'; kbdcontrol -r ${keyrate} fi +# change function keys +if [ "X${keychange}" != X"NO" ]; then + echo -n " keychange" + set - ${keychange} + while [ $# -gt 0 ] + do + kbdcontrol -f "$1" "$2" + shift; shift + done +fi + [ "X${kbdadjust}" != X"NO" ] && echo ']' |