aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b2d2abfa..55231a04 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -112,7 +112,9 @@ KEYMAP=
if [ -f /etc/sysconfig/console/default.kmap ]; then
KEYMAP=/etc/sysconfig/console/default.kmap
else
- . /etc/sysconfig/keyboard
+ if [ -f /etc/sysconfig/keyboard ]; then
+ . /etc/sysconfig/keyboard
+ fi
if [ -n "$KEYTABLE" -a -d "/usr/lib/kbd/keymaps" ]; then
KEYMAP=$KEYTABLE
fi