aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-03-15 23:33:41 +0000
committerBill Nottingham <notting@redhat.com>1999-03-15 23:33:41 +0000
commit8e6b0c4329380298c7e26aaa0da6887ae6e988f0 (patch)
tree43e918ea0904e0056f39014b6409540625b39ee7 /lang.sh
parentbc24993efd5dd2e9af769b85b0825c6290a08764 (diff)
downloadinitscripts-8e6b0c4329380298c7e26aaa0da6887ae6e988f0.tar
initscripts-8e6b0c4329380298c7e26aaa0da6887ae6e988f0.tar.gz
initscripts-8e6b0c4329380298c7e26aaa0da6887ae6e988f0.tar.bz2
initscripts-8e6b0c4329380298c7e26aaa0da6887ae6e988f0.tar.xz
initscripts-8e6b0c4329380298c7e26aaa0da6887ae6e988f0.zip
more support for SYSFONTACM from consoletools
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang.sh b/lang.sh
index 91eb3f68..709c1c52 100755
--- a/lang.sh
+++ b/lang.sh
@@ -23,6 +23,16 @@ if [ -f /etc/sysconfig/i18n ]; then
if [ -n "$UNIMAP" ]; then
loadunimap $UNIMAP
fi
+
+ if [ -n "$SYSFONTACM" ]; then
+ case $SYSFONTACN in
+ iso01*|iso02*|iso15*)
+ LESSCHARSET=latin1
+ INPUTRC=/etc/inputrc
+ export LESSCHARSET INPUTRC
+ ;;
+ esac
+ fi
if [ -n "$SYSTERM" ] ; then
case $SYSTERM in
@@ -33,4 +43,5 @@ if [ -f /etc/sysconfig/i18n ]; then
;;
esac
fi
+ unset SYSFONTACM
fi