blob: 91eb3f683961274779926cc56a8fa29eb7a1aa8f (
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
|
#!/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 "$SYSTERM" ] ; then
case $SYSTERM in
linux-lat)
LESSCHARSET=latin1
INPUTRC=/etc/inputrc
export LESSCHARSET INPUTRC
;;
esac
fi
fi
|