]> git.pld-linux.org Git - packages/console-tools.git/blob - console.sh
- renaming locale dir name(s) for messages file(s)
[packages/console-tools.git] / console.sh
1 if (tty -s); then
2  case $TERM in
3   linux)
4         if [ -f /etc/sysconfig/console ]; then
5                 . /etc/sysconfig/console
6         
7                 if [ "$CONSOLEMAP" != "" ]; then
8                         # Switch the G0 charset map from the default ISO-8859-1
9                         # to the user-defined map (loaded with consolefonts)
10                         if [ -w /proc/$$/fd/0 -a -t 0 ]; then
11                                 echo -n -e '\033(K' > /proc/$$/fd/0
12                         else
13                                 echo -n -e '\033(K' > /dev/tty
14                         fi
15                 fi
16                 
17         fi
18         ;;
19  esac
20 fi
This page took 0.131264 seconds and 3 git commands to generate.