aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-06-29 16:31:20 +0000
committerBill Nottingham <notting@redhat.com>1999-06-29 16:31:20 +0000
commit662cdad16a4202ea5e78b252a4a48456e7f3a334 (patch)
tree3cc4d0f8f77880eee16c002c90a4b165fc396dba
parente436054d06e1ed5ef94903652ee88f3847da6765 (diff)
downloadinitscripts-662cdad16a4202ea5e78b252a4a48456e7f3a334.tar
initscripts-662cdad16a4202ea5e78b252a4a48456e7f3a334.tar.gz
initscripts-662cdad16a4202ea5e78b252a4a48456e7f3a334.tar.bz2
initscripts-662cdad16a4202ea5e78b252a4a48456e7f3a334.tar.xz
initscripts-662cdad16a4202ea5e78b252a4a48456e7f3a334.zip
don't source /etc/sysconfig/i18n if it's not there...
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 1e607740..322d6f6e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -98,7 +98,7 @@ fi
# Load system font
if [ -x /sbin/setsysfont ]; then
- . /etc/sysconfig/i18n
+ [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
if [ -f /etc/sysconfig/console/$SYSFONT.psf.gz -o -f /usr/lib/kbd/consolefonts/$SYSFONT.psf.gz ]; then
action "Setting default font" /sbin/setsysfont
fi