From cb94909d3fc51ce42cfaa28311948f17ef089667 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 2 Nov 2004 08:21:06 +0000 Subject: more LC_ALL=C --- rc.d/rc.sysinit | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index b378d897..6dddce7f 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -29,7 +29,7 @@ mount -n -t sysfs /sys /sys >/dev/null 2>&1 . /etc/init.d/functions # Check SELinux status -selinuxfs=`awk '/ selinuxfs / { print $2 }' /proc/mounts` +selinuxfs=`LC_ALL=C awk '/ selinuxfs / { print $2 }' /proc/mounts` SELINUX= if [ -n "$selinuxfs" ] && [ "`cat /proc/self/attr/current`" != "kernel" ]; then if [ -r $selinuxfs/enforce ] ; then @@ -173,7 +173,7 @@ for module in $ide ; do done # SCSI -for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+scsi_hostadapter[[:space:]]/ { print $3 }'` $scsi; do +for module in `/sbin/modprobe -c | LC_ALL=C awk '/^alias[[:space:]]+scsi_hostadapter[[:space:]]/ { print $3 }'` $scsi; do load_module $module done load_module floppy @@ -201,7 +201,7 @@ done echo -n $" network" # Sound -for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+snd-card-[[:digit:]]+[[:space:]]/ { print $3 }'` $audio; do +for module in `/sbin/modprobe -c | LC_ALL=C awk '/^alias[[:space:]]+snd-card-[[:digit:]]+[[:space:]]/ { print $3 }'` $audio; do load_module $module done @@ -451,7 +451,7 @@ fi # Remount the root filesystem read-write. update_boot_stage RCmountfs -state=`awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts` +state=`LC_ALL=C awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts` [ "$state" != "rw" -a "$READONLY" != "yes" ] && \ action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw / -- cgit v1.2.1