aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit7
1 files changed, 6 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index ca9d71da..1ad6b175 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -101,6 +101,7 @@ action "Setting clock $CLOCKDEF: `date`" date
# Load keymap
+KEYTABLE=
KEYMAP=
if [ -f /etc/sysconfig/console/default.kmap ]; then
KEYMAP=/etc/sysconfig/console/default.kmap
@@ -114,7 +115,11 @@ else
fi
if [ -n "$KEYMAP" ]; then
# Since this takes in/output from stdin/out, we can't use initlog
- echo -n "Loading default keymap"
+ if [ -n "$KEYTABLE" ]; then
+ echo -n "Loading default keymap ($KEYTABLE): "
+ else
+ echo -n "Loading default keymap: "
+ fi
loadkeys $KEYMAP < /dev/tty0 > /dev/tty0 2>/dev/null && \
success "Loading default keymap" || failure "Loading default keymap"
echo