From db3b330c20cc619da3532aa389b3320a9aed20ad Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 16 Sep 1998 15:11:27 +0000 Subject: 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/ --- setsysfont | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setsysfont') 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 -- cgit v1.2.1