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
@ -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