aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-10-08 13:31:22 +0200
committerLukas Nykryn <lnykryn@redhat.com>2012-10-08 13:31:22 +0200
commitf00f8d9e9f6a7382011166dbbef59eedce990b48 (patch)
tree8d2039ece5a22fe47959c9ad06abddffad727456 /rc.d
parente78751738111749b5ce68ee9d54d1d18bab13e22 (diff)
downloadinitscripts-f00f8d9e9f6a7382011166dbbef59eedce990b48.tar
initscripts-f00f8d9e9f6a7382011166dbbef59eedce990b48.tar.gz
initscripts-f00f8d9e9f6a7382011166dbbef59eedce990b48.tar.bz2
initscripts-f00f8d9e9f6a7382011166dbbef59eedce990b48.tar.xz
initscripts-f00f8d9e9f6a7382011166dbbef59eedce990b48.zip
use vgchange -aay in rc.sysinit and netfs init script
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/netfs2
-rwxr-xr-xrc.d/rc.sysinit2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/netfs b/rc.d/init.d/netfs
index 2b5dd84a..81784124 100755
--- a/rc.d/init.d/netfs
+++ b/rc.d/init.d/netfs
@@ -55,7 +55,7 @@ case "$1" in
fi
if [ -x /sbin/lvm ]; then
if /sbin/lvm vgscan > /dev/null 2>&1 ; then
- action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y
+ action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a ay
fi
fi
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index bc484ec7..2410d616 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -198,7 +198,7 @@ fi
[ -r /proc/mdstat -a -r /dev/md/md-device-map ] && /sbin/mdadm -IRs
if [ -x /sbin/lvm ]; then
- action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --sysinit
+ action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a ay --sysinit
fi
if [ -f /etc/crypttab ]; then