Index: drbd-utils-8.9.2rc2+git.faeb645/scripts/drbd =================================================================== --- drbd-utils-8.9.2rc2+git.faeb645.orig/scripts/drbd +++ drbd-utils-8.9.2rc2+git.faeb645/scripts/drbd @@ -9,14 +9,14 @@ # ### BEGIN INIT INFO # Provides: drbd -# Required-Start: $local_fs $network $syslog -# Required-Stop: $local_fs $network $syslog +# Required-Start: $remote_fs $network $syslog +# Required-Stop: $remote_fs $network $syslog # Should-Start: sshd multipathd # Should-Stop: sshd multipathd -# Default-Start: 2 3 4 5 +# Default-Start: 2 3 5 # Default-Stop: 0 1 6 -# X-Start-Before: heartbeat corosync -# X-Stop-After: heartbeat corosync +# X-Start-Before: pacemaker corosync +# X-Stop-After: pacemaker corosync # X-Interactive: true # Short-Description: Control drbd resources. ### END INIT INFO @@ -173,7 +173,6 @@ case "$1" in done done - [ -d /var/lock/subsys ] && touch /var/lock/subsys/drbd # for RedHat run_hook start_before-wait $DRBDADM wait-con-int # User interruptible version of wait-connect all run_hook start @@ -226,7 +225,6 @@ case "$1" in fi done run_hook stop - [ -f /var/lock/subsys/drbd ] && rm /var/lock/subsys/drbd log_end_msg 0 ;; status)