aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-11-02 08:21:06 +0000
committerBill Nottingham <notting@redhat.com>2004-11-02 08:21:06 +0000
commitcb94909d3fc51ce42cfaa28311948f17ef089667 (patch)
tree496e4b88e9abe51edc270451f732130a20c1fca2 /rc.d/rc.sysinit
parente08a268b073f058062b7cff9253bafbff4d07447 (diff)
downloadinitscripts-cb94909d3fc51ce42cfaa28311948f17ef089667.tar
initscripts-cb94909d3fc51ce42cfaa28311948f17ef089667.tar.gz
initscripts-cb94909d3fc51ce42cfaa28311948f17ef089667.tar.bz2
initscripts-cb94909d3fc51ce42cfaa28311948f17ef089667.tar.xz
initscripts-cb94909d3fc51ce42cfaa28311948f17ef089667.zip
more LC_ALL=C
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit8
1 files 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 /