aboutsummaryrefslogtreecommitdiffstats
path: root/setsysfont
diff options
context:
space:
mode:
Diffstat (limited to 'setsysfont')
-rwxr-xr-xsetsysfont3
1 files changed, 3 insertions, 0 deletions
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