Changed files:
console.sh -> 1.9
if [ "$CONSOLEMAP" != "" ]; then
# Switch the G0 charset map from the default ISO-8859-1
# to the user-defined map (loaded with consolefonts)
if [ "$CONSOLEMAP" != "" ]; then
# Switch the G0 charset map from the default ISO-8859-1
# to the user-defined map (loaded with consolefonts)
- if [ -w /proc/$$/fd/0 ]; then
+ if [ -w /proc/$$/fd/0 -a -t 0]; then
echo -n -e '\033(K' > /proc/$$/fd/0
else
echo -n -e '\033(K' > /dev/tty
echo -n -e '\033(K' > /proc/$$/fd/0
else
echo -n -e '\033(K' > /dev/tty