]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - sysconfig/network-scripts/tnldown
- force LC_ALL=C when grepping data from possibly localized program outputs
[projects/rc-scripts.git] / sysconfig / network-scripts / tnldown
index 15e1a468b05a23f38fd954b536af4f64ff991fde..6d0f345f57b2f7eade1dd47b9721b55eb88916b9 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.071241 seconds and 4 git commands to generate.