aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-05-26 15:42:23 +0000
committerBill Nottingham <notting@redhat.com>2004-05-26 15:42:23 +0000
commit8e79f02e712c57369513fd45b7f382ee6b8b34af (patch)
tree9df001c244b1715178ac67c5c63edbe4187836b8 /rc.d/rc.sysinit
parentc7de9ac493d9355d25a5fcdafdeada4620fbb63b (diff)
downloadinitscripts-8e79f02e712c57369513fd45b7f382ee6b8b34af.tar
initscripts-8e79f02e712c57369513fd45b7f382ee6b8b34af.tar.gz
initscripts-8e79f02e712c57369513fd45b7f382ee6b8b34af.tar.bz2
initscripts-8e79f02e712c57369513fd45b7f382ee6b8b34af.tar.xz
initscripts-8e79f02e712c57369513fd45b7f382ee6b8b34af.zip
more silencing (<alexl@redhat.com>)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 15735ee4..e6c60524 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -386,7 +386,7 @@ if [ -x /sbin/lvm.static ]; then
if ! LC_ALL=C fgrep -q "device-mapper" /proc/devices 2>/dev/null ; then
modprobe dm-mod >/dev/null 2>&1
fi
- /bin/rm -f /dev/mapper/control
+ /bin/rm -f /dev/mapper/control &> /dev/null
echo "mkdmnod" | /sbin/nash --quiet >/dev/null 2>&1
[ -n "$SELINUX" ] && restorecon /dev/mapper/control
if [ -c /dev/mapper/control -a -x /sbin/lvm.static ]; then
@@ -704,7 +704,7 @@ for afile in /var/lock/* /var/run/* ; do
rm -f $afile
fi
done
-rm -f /var/lib/rpm/__db*
+rm -f /var/lib/rpm/__db* &> /dev/null
# Reset pam_console permissions
[ -x /sbin/pam_console_apply ] && /sbin/pam_console_apply -r