xen-drbd

annotate xen-scripts-network-xen-drbd @ 5:1c7442c793a1

*** empty log message ***
author eb
date Fri Oct 05 16:59:35 2007 +0300 (2007-10-05)
parents
children fc201b0bc6f9
rev   line source
igor@0 1 #!/bin/sh
igor@0 2
igor@0 3 XEN_DRBD_PATH='/usr/bin'
igor@0 4 TOPOLOGY_NAME='xen-drbd'
igor@0 5 [ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd
igor@0 6
igor@0 7 case $1 in
igor@0 8 start)
igor@0 9 $XEN_DRBD_PATH/xen-drbd-install.py ${TOPOLOGY_NAME} make-bridges | sh -s
igor@0 10 ;;
igor@0 11 stop)
igor@0 12 ;;
igor@0 13 *)
igor@0 14 echo $0 'start|stop'
igor@0 15 ;;
igor@0 16 esac
igor@0 17