#!/bin/sh

XEN_DRBD_PATH='/usr/bin'
TOPOLOGY_NAME='xen-drbd'
[ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd

case $1 in
		start)
			$XEN_DRBD_PATH/xen-drbd-install.py ${TOPOLOGY_NAME} make-bridges | sh -s
		;;
		stop)
		;;
		*)
			echo $0 'start|stop'
		;;
esac