diff options
author | Jakub Jelinek <jakub@redhat.com> | 1999-10-05 12:57:42 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 1999-10-05 12:57:42 +0000 |
commit | 24bb6279b1b9fd248d95732d99ef01dfbf00f3b1 (patch) | |
tree | face2ae0648d61e9caf50f1609ba2b76cc6b6ad3 /rc.d | |
parent | a7a7ec544cbbe106de987a178293a522cf9ff90f (diff) | |
download | initscripts-24bb6279b1b9fd248d95732d99ef01dfbf00f3b1.tar initscripts-24bb6279b1b9fd248d95732d99ef01dfbf00f3b1.tar.gz initscripts-24bb6279b1b9fd248d95732d99ef01dfbf00f3b1.tar.bz2 initscripts-24bb6279b1b9fd248d95732d99ef01dfbf00f3b1.tar.xz initscripts-24bb6279b1b9fd248d95732d99ef01dfbf00f3b1.zip |
If /etc/sysconfig/keyboard is not present (on serial console), don't complain.
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
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 |