mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
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.
This commit is contained in:
parent
7b0047e213
commit
923782ecb6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7491
@ -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 ']'
|
||||
|
||||
|
||||
|
@ -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 ']'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user