xen-drbd

diff init.d-xen-drbd @ 36:44efea4507ac

Virtual disk name can be secified after = sign (e.g.: drbd1=sda1:dns:2G )
author igor@manas.xt.vpn
date Sat Aug 30 11:14:50 2008 +0300 (2008-08-30)
parents 1c7442c793a1
children e80bdf496aa2
line diff
     1.1 --- a/init.d-xen-drbd	Fri Oct 05 16:59:35 2007 +0300
     1.2 +++ b/init.d-xen-drbd	Sat Aug 30 11:14:50 2008 +0300
     1.3 @@ -8,12 +8,12 @@
     1.4  
     1.5  case $1 in
     1.6  		start)
     1.7 -			$XEN_DRBD_PATH/xen-drbd-install.py ${TOPOLOGY_NAME} make-links | sh -s
     1.8 +			$XEN_DRBD_PATH/xen-drbd-install ${TOPOLOGY_NAME} make-links | sh -s
     1.9  			if [ -z "$START_ACTION" ] || echo $START_ACTION | grep -qix nothing 
    1.10  			then
    1.11  				true
    1.12  			else
    1.13 -				$XEN_DRBD_PATH/xen-drbd.py $START_ACTION
    1.14 +				$XEN_DRBD_PATH/xen-drbd $START_ACTION
    1.15  			fi
    1.16  		;;
    1.17  		stop)
    1.18 @@ -21,7 +21,7 @@
    1.19  			then
    1.20  				true
    1.21  			else
    1.22 -				$XEN_DRBD_PATH/xen-drbd.py $STOP_ACTION
    1.23 +				$XEN_DRBD_PATH/xen-drbd $STOP_ACTION
    1.24  			fi
    1.25  		;;
    1.26  		*)