diff options
author | Bill Nottingham <notting@redhat.com> | 1999-11-16 17:20:50 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-11-16 17:20:50 +0000 |
commit | 1237f47f7c67278e252b0b16bdf2d8c245c337ec (patch) | |
tree | da28ef473312598c6d4335ec300bba632b10e42f | |
parent | 266c30d60f71e057a4f7e9348552cc88bdb6a56e (diff) | |
download | initscripts-1237f47f7c67278e252b0b16bdf2d8c245c337ec.tar initscripts-1237f47f7c67278e252b0b16bdf2d8c245c337ec.tar.gz initscripts-1237f47f7c67278e252b0b16bdf2d8c245c337ec.tar.bz2 initscripts-1237f47f7c67278e252b0b16bdf2d8c245c337ec.tar.xz initscripts-1237f47f7c67278e252b0b16bdf2d8c245c337ec.zip |
look for fonts that aren't psf.gz
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index ebe50d50..f04d3b7c 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -126,7 +126,10 @@ fi # Load system font if [ -x /sbin/setsysfont ]; then [ -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 + if [ -f /etc/sysconfig/console/$SYSFONT.psf.gz -o \ + -f /usr/lib/kbd/consolefonts/$SYSFONT.psf.gz -o \ + -f /etc/sysconfig/console/$SYSFONT.gz -o \ + -f /usr/lib/kbd/consolefonts/$SYSFONT.gz -o ]; then action "Setting default font" /sbin/setsysfont fi fi |