aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-07 04:26:43 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-07 04:26:43 +0000
commitc811f6dcfb22b3cf048a85e4bb33658109b5ab30 (patch)
tree374647533c7e99c5544cebe5d559b9aa5b27851a /rc.d
parent27c4930dd2fd5f030cbe2a5ba7eab3003043f655 (diff)
downloadinitscripts-c811f6dcfb22b3cf048a85e4bb33658109b5ab30.tar
initscripts-c811f6dcfb22b3cf048a85e4bb33658109b5ab30.tar.gz
initscripts-c811f6dcfb22b3cf048a85e4bb33658109b5ab30.tar.bz2
initscripts-c811f6dcfb22b3cf048a85e4bb33658109b5ab30.tar.xz
initscripts-c811f6dcfb22b3cf048a85e4bb33658109b5ab30.zip
* Fri May 7 2004 Jeremy Katz <katzj@redhat.com> - 7.53-1r7-53
- little lvm tweak (#121963)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b507f77b..79fe39f6 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -383,7 +383,7 @@ if [ -x /sbin/lvm.static ]; then
/bin/rm -f /dev/mapper/control
echo "mkdmnod" | /sbin/nash --quiet >/dev/null 2>&1
[ -n "$SELINUX" ] && restorecon /dev/mapper/control
- if [ -e /dev/mapper/control -a -x /sbin/lvm.static ]; then
+ if [ -c /dev/mapper/control -a -x /sbin/lvm.static ]; then
if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then
action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y && /sbin/lvm vgmknodes
fi