diff options
author | Bill Nottingham <notting@redhat.com> | 2000-08-07 04:39:08 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-08-07 04:39:08 +0000 |
commit | d561b7b93c73f7a233dba7ecdbddad3d15c6cae7 (patch) | |
tree | 2a4a5e634aeaca4353f2d22262080f89e73013ce /rc.d | |
parent | 31432cfbef91f4108f07ea9f189d35150ea1eea7 (diff) | |
download | initscripts-d561b7b93c73f7a233dba7ecdbddad3d15c6cae7.tar initscripts-d561b7b93c73f7a233dba7ecdbddad3d15c6cae7.tar.gz initscripts-d561b7b93c73f7a233dba7ecdbddad3d15c6cae7.tar.bz2 initscripts-d561b7b93c73f7a233dba7ecdbddad3d15c6cae7.tar.xz initscripts-d561b7b93c73f7a233dba7ecdbddad3d15c6cae7.zip |
cosmetic fixes for keytable loading
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 7 |
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 |