xen-drbd
diff xen-scripts-network-xen-drbd @ 6:7af6c8ecdf0c
ebian-to-hd: install from cd
author | igor |
---|---|
date | Mon Nov 12 10:45:09 2007 +0200 (2007-11-12) |
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 Mon Nov 12 10:45:09 2007 +0200 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 +