]> git.pld-linux.org Git - packages/console-tools.git/blame - console.sh
- updated gettext BR
[packages/console-tools.git] / console.sh
CommitLineData
e843c9aa 1if tty -s; then
89221920
AM
2 case $TERM in
3 linux)
e843c9aa
ER
4 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
5
eb150c07 6 if [ -f /etc/sysconfig/console ]; then
81be7d90 7 . /etc/sysconfig/console
5a02012c 8
5a02012c
PS
9 case "$LANG" in
10 *.utf8|*.UTF-8)
11 [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start
12 ;;
13 esac
14
eb150c07 15 if [ "$CONSOLEMAP" != "" ]; then
81be7d90 16 # Switch the G0 charset map from the default ISO-8859-1
17 # to the user-defined map (loaded with consolefonts)
2b957e53 18 if [ -w /proc/$$/fd/0 -a -t 0 ]; then
61ae899a
AM
19 echo -n -e '\033(K' > /proc/$$/fd/0
20 else
21 echo -n -e '\033(K' > /dev/tty
22 fi
81be7d90 23 fi
ed78c3ee
AF
24
25 fi
81be7d90 26 ;;
89221920
AM
27 esac
28fi
This page took 0.064515 seconds and 4 git commands to generate.