]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- one subshell less; read i18n only if there's activity to be done AC-STABLE auto/ac/kbd-1_12-13 auto/ac/kbd-1_12-14 auto/ac/kbd-1_12-15 auto/ac/kbd-1_12-17 auto/ac/kbd-1_12-20 auto/th/kbd-1_12-13 auto/th/kbd-1_12-15 auto/th/kbd-1_12-16 auto/th/kbd-1_12-17 auto/th/kbd-1_12-18 auto/th/kbd-1_12-19 auto/th/kbd-1_12-20 auto/th/kbd-1_12-21 auto/th/kbd-1_15-1 auto/th/kbd-1_15-2 auto/th/kbd-1_15-3 auto/ti/kbd-1_12-17 auto/ti/kbd-1_12-19 auto/ti/kbd-1_12-20 auto/ti/kbd-1_12-21
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 May 2006 13:38:58 +0000 (13:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    console.sh -> 1.14

console.sh

index 5a878fd765f08c7e07ee2d724334906b9fe06c23..e018d5a3a4b11392b6fd16275e891a20045dcc03 100644 (file)
@@ -1,9 +1,8 @@
-[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
-
-tty -s
-if [ $? -eq 0 ]; then
+if tty -s; then
  case $TERM in
   linux)
+       [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
+
        if [ -f /etc/sysconfig/console ]; then
                . /etc/sysconfig/console
 
This page took 0.087339 seconds and 4 git commands to generate.