19 lines
522 B
Diff
19 lines
522 B
Diff
---
|
|
scripts/drbd | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/scripts/drbd
|
|
+++ b/scripts/drbd
|
|
@@ -185,7 +185,10 @@ case "$1" in
|
|
done
|
|
|
|
[ -d /var/lock/subsys ] && touch /var/lock/subsys/drbd # for RedHat
|
|
- $DRBDADM wait-con-int # User interruptible version of wait-connect all
|
|
+
|
|
+ if [ ! -e /etc/platform/simplex ] ; then # Skip if simplex
|
|
+ $DRBDADM wait-con-int # User interruptible version of wait-connect all
|
|
+ fi
|
|
|
|
$DRBDADM sh-b-pri all # Become primary if configured
|
|
log_end_msg 0
|