aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-07-09 19:30:34 +0000
committerBill Nottingham <notting@redhat.com>2004-07-09 19:30:34 +0000
commitddac810237877b04f080133086a18fcd7c854191 (patch)
treebbb05f2b6e787813b8bbdce19bfbdd90eb92dfd7 /rc.d
parent179e85006c4b278860d4effbc4ddfc06779acc81 (diff)
downloadinitscripts-ddac810237877b04f080133086a18fcd7c854191.tar
initscripts-ddac810237877b04f080133086a18fcd7c854191.tar.gz
initscripts-ddac810237877b04f080133086a18fcd7c854191.tar.bz2
initscripts-ddac810237877b04f080133086a18fcd7c854191.tar.xz
initscripts-ddac810237877b04f080133086a18fcd7c854191.zip
silence restorecon
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index de29ff4a..134cd27e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -388,7 +388,7 @@ if [ -x /sbin/lvm.static ]; then
fi
/bin/rm -f /dev/mapper/control &> /dev/null
echo "mkdmnod" | /sbin/nash --quiet >/dev/null 2>&1
- [ -n "$SELINUX" ] && restorecon /dev/mapper/control
+ [ -n "$SELINUX" ] && restorecon /dev/mapper/control >/dev/null 2>&1
if [ -c /dev/mapper/control -a -x /sbin/lvm.static ]; then
if /sbin/lvm.static vgscan --mknodes --ignorelockingfailure > /dev/null 2>&1 ; then
action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure
@@ -406,7 +406,7 @@ fi
# Clean up SELinux labels
if [ -n "$SELINUX" ]; then
for file in /etc/mtab /etc/ld.so.cache ; do
- [ -r $file ] && restorecon -v $file
+ [ -r $file ] && restorecon $file >/dev/null 2>&1
done
fi
@@ -734,7 +734,7 @@ rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \
# Make ICE directory
mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1
chown root:root /tmp/.ICE-unix
-[ -n "$SELINUX" ] && restorecon /tmp/.ICE-unix
+[ -n "$SELINUX" ] && restorecon /tmp/.ICE-unix >/dev/null 2>&1
# Start up swapping.
update_boot_stage RCswap