From 01e080020dbcbf98fdb6505b9b7f54ee43695a78 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 26 Feb 2003 02:37:24 +0000 Subject: handle 7.x sysfontacm settings on the fly (#84183) --- setsysfont | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setsysfont b/setsysfont index a21bc373..eac0e31c 100755 --- a/setsysfont +++ b/setsysfont @@ -28,6 +28,9 @@ elif [ -x /bin/setfont ]; then ARGS="-u $UNIMAP" fi if [ -n "$SYSFONTACM" ]; then + if [ ! -f /lib/kbd/consoletrans/$SYSONTACM_to_uni.trans ]; then + SYSFONTACM=`echo $SYSFONTACM | sed "|iso0|8859-|g"` + fi ARGS="$ARGS -m $SYSFONTACM" fi if [ -n "$SYSFONT" ]; then -- cgit v1.2.1