]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- console.sh fixed - now works when "$TERM" == "linux" kbd-1_06-5
authorTomek Orzechowski <orzech@pld-linux.org>
Wed, 5 Sep 2001 20:12:40 +0000 (20:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- kdb release++ (5)

Changed files:
    console.sh -> 1.8

console.sh

index 7a8cefcf8d55ac7b773d0cf94076fd7ab152aaff..cd67f6815cc7cac4795260997a75eee91f8a79ef 100644 (file)
@@ -1,13 +1,10 @@
 
-case $(tty) in
-(/dev/tty[0-9]|/dev/tty[0-9][0-9]|/dev/vc/*)
-
-       if [ -f /etc/sysconfig/console ]
-       then
+case $TERM in
+ linux)
+       if [ -f /etc/sysconfig/console ]; then
                . /etc/sysconfig/console
        
-               if [ "$CONSOLEMAP" != "" ]
-               then
+               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
This page took 0.091919 seconds and 4 git commands to generate.