summaryrefslogtreecommitdiffstats
path: root/etc/etc.i386
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.i386')
-rw-r--r--etc/etc.i386/rc.i38619
1 files changed, 17 insertions, 2 deletions
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 ']'
OpenPOWER on IntegriCloud