diff options
author | Jeff Johnson <jbj@redhat.com> | 1998-09-16 15:11:27 +0000 |
---|---|---|
committer | Jeff Johnson <jbj@redhat.com> | 1998-09-16 15:11:27 +0000 |
commit | db3b330c20cc619da3532aa389b3320a9aed20ad (patch) | |
tree | c6fa1849b9731083083599d164bf356b2e449469 /setsysfont | |
parent | 8d22658b9fcb7bc8f9a1f06107eea9e5c127eb52 (diff) | |
download | initscripts-db3b330c20cc619da3532aa389b3320a9aed20ad.tar initscripts-db3b330c20cc619da3532aa389b3320a9aed20ad.tar.gz initscripts-db3b330c20cc619da3532aa389b3320a9aed20ad.tar.bz2 initscripts-db3b330c20cc619da3532aa389b3320a9aed20ad.tar.xz initscripts-db3b330c20cc619da3532aa389b3320a9aed20ad.zip |
I've changed /sbin/setsysfont from the RH51 initscripts package to handle
Unicode fonts. To do this I've added the variable UNIMAP to
/etc/sysconfig/i18n (It holds the name of the Unicode mapping table.) The
changes should be backwards compatible.
Niels Kristian Bech Jensen - nkbj@image.dk - http://www.image.dk/~nkbj/
Diffstat (limited to 'setsysfont')
-rwxr-xr-x | setsysfont | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,7 +6,9 @@ fi if [ -x /usr/bin/setfont ]; then - if [ -n "$SYSFONT" ]; then + if [ -n "$SYSFONT" -a -n "$UNIMAP" ]; then + /usr/bin/setfont $SYSFONT -u $UNIMAP + elif [ -n "$SYSFONT" ]; then /usr/bin/setfont $SYSFONT fi |