From d561b7b93c73f7a233dba7ecdbddad3d15c6cae7 Mon Sep 17 00:00:00 2001
From: Bill Nottingham <notting@redhat.com>
Date: Mon, 7 Aug 2000 04:39:08 +0000
Subject: cosmetic fixes for keytable loading

---
 rc.d/rc.sysinit | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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
-- 
cgit v1.2.1