]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- kill subshell, always source /etc/sysconfig/i18n
authorradek <radek@pld-linux.org>
Tue, 23 May 2006 13:25:52 +0000 (13:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    console.sh -> 1.13

console.sh

index f409b8806c79c1189c33bc603f63aa7cb332ef1a..5a878fd765f08c7e07ee2d724334906b9fe06c23 100644 (file)
@@ -1,10 +1,12 @@
-if (tty -s); then
+[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
+
+tty -s
+if [ $? -eq 0 ]; then
  case $TERM in
   linux)
        if [ -f /etc/sysconfig/console ]; then
                . /etc/sysconfig/console
 
-               [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
                case "$LANG" in
                        *.utf8|*.UTF-8)
                                [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start
This page took 0.658707 seconds and 4 git commands to generate.