xen-drbd
diff xen-scripts-network-xen-drbd @ 5:1c7442c793a1
*** empty log message ***
author | eb |
---|---|
date | Fri Oct 05 16:59:35 2007 +0300 (2007-10-05) |
parents | |
children | fc201b0bc6f9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xen-scripts-network-xen-drbd Fri Oct 05 16:59:35 2007 +0300 1.3 @@ -0,0 +1,17 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +XEN_DRBD_PATH='/usr/bin' 1.7 +TOPOLOGY_NAME='xen-drbd' 1.8 +[ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd 1.9 + 1.10 +case $1 in 1.11 + start) 1.12 + $XEN_DRBD_PATH/xen-drbd-install.py ${TOPOLOGY_NAME} make-bridges | sh -s 1.13 + ;; 1.14 + stop) 1.15 + ;; 1.16 + *) 1.17 + echo $0 'start|stop' 1.18 + ;; 1.19 +esac 1.20 +