21 lines
662 B
Diff
21 lines
662 B
Diff
--- LVM2.2.02.11-old/scripts/lvmconf.sh 2006-09-20 18:36:47.000000000 +0100
|
|
+++ LVM2.2.02.11/scripts/lvmconf.sh 2006-10-14 16:57:06.000000000 +0100
|
|
@@ -36,7 +36,7 @@ function parse_args
|
|
while [ -n "$1" ]; do
|
|
case $1 in
|
|
--enable-cluster)
|
|
- LOCKING_TYPE=2
|
|
+ LOCKING_TYPE=3
|
|
shift
|
|
;;
|
|
--disable-cluster)
|
|
@@ -170,7 +170,7 @@ then
|
|
if [ -z "$LOCKING_TYPE" ]; then
|
|
LOCKING_TYPE=1
|
|
fi
|
|
- if [ "$LOCKING_TYPE" = "2" ]; then
|
|
+ if [ "$LOCKING_TYPE" = "3" ]; then
|
|
cat $CONFIGFILE - <<EOF > $TMPFILE
|
|
global {
|
|
# Enable locking for cluster LVM
|