blob: 709c1c526e6209281c970c61de859b5ba9e6f923 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#!/bin/bash
if [ -f /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n
if [ -n "$LANG" ]; then
export LANG
fi
if [ -n "$LC_ALL" ]; then
export LC_ALL
fi
if [ -n "$LINGUAS" ]; then
export LINGUAS
fi
if [ -n "$SYSTERM" ]; then
export TERM=$SYSTERM
fi
# Set console font map.
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
linux-lat)
LESSCHARSET=latin1
INPUTRC=/etc/inputrc
export LESSCHARSET INPUTRC
;;
esac
fi
unset SYSFONTACM
fi
|