]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- devfs without devfsd (?) kbd-1_06-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 27 Aug 2000 16:03:19 +0000 (16:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    console.sh -> 1.7

console.sh

index 517390078cdb701e8c9e421f56c166b94e76f13c..7a8cefcf8d55ac7b773d0cf94076fd7ab152aaff 100644 (file)
@@ -10,7 +10,11 @@ case $(tty) in
                then
                        # Switch the G0 charset map from the default ISO-8859-1
                        # to the user-defined map (loaded with consolefonts)
-                       echo -n -e '\033(K' > /dev/tty
+                       if [ -w /proc/$$/fd/0 ]; then
+                               echo -n -e '\033(K' > /proc/$$/fd/0
+                       else
+                               echo -n -e '\033(K' > /dev/tty
+                       fi
                fi
                
        fi
This page took 0.083086 seconds and 4 git commands to generate.