1 Index: new/cman/init.d/cman.in
2 ===================================================================
3 --- new.orig/cman/init.d/cman.in 2011-08-30 11:58:11.000000000 +0200
4 +++ new/cman/init.d/cman.in 2011-08-30 11:58:46.000000000 +0200
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 +# Default-Start: 2 3 4 5
16 +# Default-Stop: 0 1 6
17 # Short-Description: Starts and stops cman
18 # Description: Starts and stops the Cluster Manager set of daemons
22 PATH="/bin:/usr/bin:/sbin:/usr/sbin:@SBINDIR@"
24 +CCFG="/etc/cluster/cluster.conf"
26 test -x @SBINDIR@/cman_tool || exit 0
27 +test -f "$CCFG" || exit 0
34 if [ ! -d /etc/sysconfig ]; then
35 - [ -f /etc/default/cluster ] && . /etc/default/cluster
36 - [ -f /etc/default/cman ] && . /etc/default/cman
37 + [ -f /etc/default/redhat-cluster-pve ] && . /etc/default/redhat-cluster-pve
38 [ -z "$LOCK_FILE" ] && LOCK_FILE="/var/lock/cman"
39 netmanager=network-manager