66ad1cdeb8
(forwarded request 127448 from tserong) OBS-URL: https://build.opensuse.org/request/show/127449 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd?expand=0&rev=39
32 lines
896 B
Diff
32 lines
896 B
Diff
Index: scripts/drbd
|
|
===================================================================
|
|
--- scripts/drbd.orig
|
|
+++ scripts/drbd
|
|
@@ -9,8 +9,8 @@
|
|
#
|
|
### 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
|
|
@@ -184,7 +184,6 @@ case "$1" in
|
|
done
|
|
done
|
|
|
|
- [ -d /var/lock/subsys ] && touch /var/lock/subsys/drbd # for RedHat
|
|
$DRBDADM wait-con-int # User interruptible version of wait-connect all
|
|
|
|
$DRBDADM sh-b-pri all # Become primary if configured
|
|
@@ -211,7 +210,6 @@ case "$1" in
|
|
_udev_settle &> /dev/null
|
|
$RMMOD drbd
|
|
fi
|
|
- [ -f /var/lock/subsys/drbd ] && rm /var/lock/subsys/drbd
|
|
log_end_msg 0
|
|
;;
|
|
status)
|