]> git.pld-linux.org Git - packages/console-tools.git/commitdiff
- /bin/bash -> /bin/sh
authorpius <pius@pld-linux.org>
Sat, 4 Dec 1999 17:14:27 +0000 (17:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed some bashisms (BR#117)

Changed files:
    console.init -> 1.2

console.init

index 10c7bd88680b1025a41085f2efcdf323b0fae65c..bdcee39d6b86f8c7c55f8ff079f358097b823bfa 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 #
 # console      Load console font and keyboard table
 #
@@ -31,7 +31,7 @@ case "$1" in
                then
                        show Loading console font
                        busy
-                       consolechars -f $CONSOLEFONT &>/dev/null
+                       consolechars -f $CONSOLEFONT > /dev/null 2>&1
                        deltext;ok
                        # Don't use "" here because additional options may be
                        # specified after the font name (e.g. fallback tables)
@@ -40,14 +40,14 @@ case "$1" in
                then
                        show Loading console map
                        busy
-                       consolechars -m $CONSOLEMAP &>/dev/null
+                       consolechars -m $CONSOLEMAP > /dev/null 2>&1
                        deltext;ok
                fi
                if [ "$KEYTABLE" != "" ]
                then
                        show Loading keyboard table
                        busy
-                       loadkeys $KEYTABLE &>/dev/null
+                       loadkeys $KEYTABLE > /dev/null 2>&1
                        deltext;ok
                fi
                ;;
This page took 0.089652 seconds and 4 git commands to generate.