]> git.pld-linux.org Git - packages/console-tools.git/blame - console.sh
- reverting last change: removing new macros from %p{re,ost}{,un}
[packages/console-tools.git] / console.sh
CommitLineData
81be7d90 1
2case $(tty) in
04025f51 3(/dev/tty[0-9]|/dev/tty[0-9][0-9]|/dev/vc/*)
81be7d90 4
5 if [ -f /etc/sysconfig/console ]
6 then
7 . /etc/sysconfig/console
8
9 if [ "$CONSOLEMAP" != "" ]
10 then
11 # Switch the G0 charset map from the default ISO-8859-1
12 # to the user-defined map (loaded with consolefonts)
61ae899a
AM
13 if [ -w /proc/$$/fd/0 ]; then
14 echo -n -e '\033(K' > /proc/$$/fd/0
15 else
16 echo -n -e '\033(K' > /dev/tty
17 fi
81be7d90 18 fi
ed78c3ee
AF
19
20 fi
81be7d90 21 ;;
22esac
This page took 0.051779 seconds and 4 git commands to generate.