]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- If console is mono (MDA) then set TERM=linux-m
authorArtur Frysiak <artur@frysiak.net>
Wed, 1 Sep 1999 17:54:14 +0000 (17:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    console.sh -> 1.2

console.sh

index 7fe305bc324847f9ad320e6d8a3c2e35d36a9e25..f00230bd7cf022841a729c3e6c603fcf498968b2 100644 (file)
@@ -12,6 +12,12 @@ case $(tty) in
                        # to the user-defined map (loaded with consolefonts)
                        echo -ne '\33(K'
                fi
+               
+       fi
+        if dmesg|grep 'Console: mono' >/dev/null 2>&1
+       then
+               TERM=linux-m
+               export TERM
        fi
        ;;
 esac
This page took 0.072293 seconds and 4 git commands to generate.