xen-drbd
diff xen-scripts-network-xen-drbd @ 2:afe3c0992ec3
fixes related to topology file format
author | igor |
---|---|
date | Fri Sep 28 15:39:51 2007 +0300 (2007-09-28) |
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 Sep 28 15:39:51 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 +