diff options
author | Thomas Backlund <tmb@mageia.org> | 2011-10-17 21:54:48 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-10-22 14:13:12 +0100 |
commit | b0dbb674b46a3eeb258c67ea77051d8dd5b54f9b (patch) | |
tree | 638e432bd3957849b9db234321a864f6bdcbfa8a /rc.d/init.d/network | |
parent | 27994d6d04def1cb1ec9e0cc591e397eede74373 (diff) | |
download | initscripts-b0dbb674b46a3eeb258c67ea77051d8dd5b54f9b.tar initscripts-b0dbb674b46a3eeb258c67ea77051d8dd5b54f9b.tar.gz initscripts-b0dbb674b46a3eeb258c67ea77051d8dd5b54f9b.tar.bz2 initscripts-b0dbb674b46a3eeb258c67ea77051d8dd5b54f9b.tar.xz initscripts-b0dbb674b46a3eeb258c67ea77051d8dd5b54f9b.zip |
Replace LANG with LC_ALL
https://bugs.mageia.org/show_bug.cgi?id=1216
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index c10f5504..dd4fcb8e 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -52,11 +52,11 @@ cd /etc/sysconfig/network-scripts # find all the interfaces besides loopback. # ignore aliases, alternative configurations, and editor backup files interfaces=$(ls ifcfg* | \ - LANG=C sed -e "$__sed_discard_ignored_files" \ + LC_ALL=C sed -e "$__sed_discard_ignored_files" \ -e '/\(ifcfg-lo$\|:\|ifcfg-.*-range\)/d' \ -e '/ifcfg-[A-Za-z0-9#\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \ - LANG=C sort -k 1,1 -k 2n | \ - LANG=C sed 's/ //') + LC_ALL=C sort -k 1,1 -k 2n | \ + LC_ALL=C sed 's/ //') rc=0 # See how we were called. |