xen-drbd
diff xen-scripts-network-xen-drbd @ 1:d6f7c53b085d
several changes
author | eb |
---|---|
date | Thu Sep 27 23:27:58 2007 +0300 (2007-09-27) |
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 Thu Sep 27 23:27:58 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 +