]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - sysconfig/network-scripts/tnlup
- force LC_ALL=C when grepping data from possibly localized program outputs
[projects/rc-scripts.git] / sysconfig / network-scripts / tnlup
index ecc2a42ad1a7139dc8e80c60fd7186527fcdd271..3b4975e948a57bcc6378cbca161c8ccb114f6890 100755 (executable)
@@ -31,7 +31,7 @@ DEV=$1
        exit 1
 }
 
-TNLCONFIGS=$(ls /etc/sysconfig/interfaces/tnlcfg-* 2>/dev/null | egrep -v '~$')
+TNLCONFIGS=$(LC_ALL=C ls /etc/sysconfig/interfaces/tnlcfg-* 2>/dev/null | egrep -v '~$')
 TNLCONFIGS=$(egrep -L '^#!' $TNLCONFIGS)
 CONFIG=$(egrep -l "^DEVICE=[\"\']*$DEV[\"\']*\$" $TNLCONFIGS)
 
This page took 0.046446 seconds and 4 git commands to generate.