aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnson <jbj@redhat.com>1998-09-16 15:11:27 +0000
committerJeff Johnson <jbj@redhat.com>1998-09-16 15:11:27 +0000
commitdb3b330c20cc619da3532aa389b3320a9aed20ad (patch)
treec6fa1849b9731083083599d164bf356b2e449469
parent8d22658b9fcb7bc8f9a1f06107eea9e5c127eb52 (diff)
downloadinitscripts-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/
-rwxr-xr-xsetsysfont4
1 files changed, 3 insertions, 1 deletions
diff --git a/setsysfont b/setsysfont
index 16bc379b..f19914d7 100755
--- a/setsysfont
+++ b/setsysfont
@@ -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