]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- startup script for console-tools
authorpius <pius@pld-linux.org>
Mon, 26 Jul 1999 13:41:30 +0000 (13:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    console.sh -> 1.1

console.sh [new file with mode: 0644]

diff --git a/console.sh b/console.sh
new file mode 100644 (file)
index 0000000..7fe305b
--- /dev/null
@@ -0,0 +1,17 @@
+
+case $(tty) in
+(/dev/tty[0-9]|/dev/tty[0-9][0-9])
+
+       if [ -f /etc/sysconfig/console ]
+       then
+               . /etc/sysconfig/console
+       
+               if [ "$CONSOLEMAP" != "" ]
+               then
+                       # Switch the G0 charset map from the default ISO-8859-1
+                       # to the user-defined map (loaded with consolefonts)
+                       echo -ne '\33(K'
+               fi
+       fi
+       ;;
+esac
This page took 0.087528 seconds and 4 git commands to generate.