From b0dbb674b46a3eeb258c67ea77051d8dd5b54f9b Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Mon, 17 Oct 2011 21:54:48 +0100 Subject: Replace LANG with LC_ALL https://bugs.mageia.org/show_bug.cgi?id=1216 --- rc.d/init.d/network | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.d/init.d/network') 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. -- cgit v1.2.1