1 Index: new/cman/init.d/cman.in
2 ===================================================================
3 --- new.orig/cman/init.d/cman.in 2012-11-14 06:12:44.000000000 +0100
4 +++ new/cman/init.d/cman.in 2012-11-14 06:33:35.000000000 +0100
9 -# Required-Start: $network $time
10 -# Required-Stop: $network $time
13 +# Required-Start: $remote_fs pve-cluster
14 +# Required-Stop: $remote_fs pve-cluster
15 +# Should-Stop: iscsi umountiscsi.sh
16 +# Default-Start: 2 3 4 5
17 +# Default-Stop: 0 1 6
18 # Short-Description: Starts and stops cman
19 # Description: Starts and stops the Cluster Manager set of daemons
22 # save invokation for rollback ops
25 +CCFG="/etc/cluster/cluster.conf"
27 test -x @SBINDIR@/cman_tool || exit 0
28 +test -f "$CCFG" || exit 0
35 if [ ! -d /etc/sysconfig ]; then
36 - [ -f /etc/default/cluster ] && . /etc/default/cluster
37 - [ -f /etc/default/cman ] && . /etc/default/cman
38 + [ -f /etc/default/redhat-cluster-pve ] && . /etc/default/redhat-cluster-pve
39 [ -z "$LOCK_FILE" ] && LOCK_FILE="/var/lock/cman"
40 netmanager=network-manager