rc-scripts/trunk/setsysfont
glen
cvs at pld-linux.org
Sun Feb 26 11:45:14 CET 2006
Author: glen
Date: Sun Feb 26 11:45:12 2006
New Revision: 7019
Modified:
rc-scripts/trunk/setsysfont
Log:
Unicode fixes.
Modified: rc-scripts/trunk/setsysfont
==============================================================================
--- rc-scripts/trunk/setsysfont (original)
+++ rc-scripts/trunk/setsysfont Sun Feb 26 11:45:12 2006
@@ -11,7 +11,7 @@
case "$LANG" in
*.utf8|*.UTF-8)
if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
- exec unicode_start $CONSOLEFONT $CONSOLEMAP
+ exec unicode_start $CONSOLEFONT $CONSOLEMAP.a0-ff
fi
;;
esac
@@ -30,7 +30,7 @@
ARGS="-u $CONSOLESCREENFONTMAP"
fi
if [ -n "$CONSOLEMAP" ]; then
- if [ ! -f /lib/kbd/consoletrans/$CONSOLEMAP_to_uni.trans ]; then
+ if [ ! -f /lib/kbd/consoletrans/${CONSOLEMAP}_to_uni.trans ]; then
CONSOLEMAP=$(echo "$CONSOLEMAP" | sed "s|iso0|8859-|g;s|iso|8859-|g")
fi
ARGS="$ARGS -m $CONSOLEMAP"
More information about the pld-cvs-commit
mailing list