aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec2
-rwxr-xr-xrc.d/rc.sysinit5
2 files changed, 6 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 13c57ee3..0866c94e 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -12,7 +12,7 @@ Requires: setup >= 2.0.3, /sbin/fuser, which
Requires: modutils >= 2.3.11-5
Requires: util-linux >= 2.10
Conflicts: kernel <= 2.2, timeconfig < 3.0, pppd < 2.3.9, wvdial < 1.40-3
-Conflicts: initscripts < 1.22.1-5
+Conflicts: initscripts < 1.22.1-5 ypbind < 1.6-12
Obsoletes: rhsound sapinit
Prereq: /sbin/chkconfig, /usr/sbin/groupadd, gawk, fileutils
BuildPrereq: glib-devel
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index f4fe64de..6a9caa4b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -195,6 +195,11 @@ if [ "$BOOTUP" != "serial" ]; then
else
fsckoptions="-V $fsckoptions"
fi
+
+# LVM Setting
+if [ -e /proc/lvm -a -x /sbin/vgchange ]; then
+ /sbin/vgchange -a y
+fi
_RUN_QUOTACHECK=0
ROOTFSTYPE=`grep " / " /proc/mounts | awk '{ print $3 }'`