aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-08-03 03:24:03 +0000
committerBill Nottingham <notting@redhat.com>2004-08-03 03:24:03 +0000
commit195ab8107940776e554bc8e46b3d96fe2cc59df5 (patch)
tree47ed8a54d187abec95e1d88284232444251e8233 /rc.d/rc.sysinit
parent0979057200c25bd91c70a226b5b40764bfd18ac2 (diff)
downloadinitscripts-195ab8107940776e554bc8e46b3d96fe2cc59df5.tar
initscripts-195ab8107940776e554bc8e46b3d96fe2cc59df5.tar.gz
initscripts-195ab8107940776e554bc8e46b3d96fe2cc59df5.tar.bz2
initscripts-195ab8107940776e554bc8e46b3d96fe2cc59df5.tar.xz
initscripts-195ab8107940776e554bc8e46b3d96fe2cc59df5.zip
don't remove /dev/mapper/control - nash will do it if it has to (#127115)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 0 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 65d6599f..fb88fe02 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -386,7 +386,6 @@ 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 &> /dev/null
echo "mkdmnod" | /sbin/nash --quiet >/dev/null 2>&1
[ -n "$SELINUX" ] && restorecon /dev/mapper/control >/dev/null 2>&1
if [ -c /dev/mapper/control -a -x /sbin/lvm.static ]; then