xen-drbd

view xen-scripts-network-xen-drbd @ 50:151c7ef48ded

Added tag v0.1 for changeset ff5eebae3437f6f0253c5f2e1f0a34a32e0c7001
author igor@manas.xt.vpn
date Wed Oct 01 00:39:01 2008 +0300 (2008-10-01)
parents a428be6d690b
children
line source
1 #!/bin/sh
3 XEN_DRBD_PATH='/usr/bin'
4 TOPOLOGY_NAME='xen-drbd'
5 [ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd
7 case $1 in
8 start)
9 $XEN_DRBD_PATH/xen-drbd-install -n ${TOPOLOGY_NAME} make-bridges | sh -s
10 ;;
11 stop)
12 ;;
13 *)
14 echo $0 'start|stop'
15 ;;
16 esac