xen-drbd
diff init.d-xen-drbd @ 31:5e499179b5ed
Добавлена поддержка HVM-доменов; параметры migrate-all-out и migrate-all-in заменены, соответственно, на migrate-out-all и migrate-in-all
author | igor@manas.xt.vpn |
---|---|
date | Thu Aug 14 22:04:16 2008 +0300 (2008-08-14) |
parents | d6f7c53b085d |
children | cbd4d942d059 |
line diff
1.1 --- a/init.d-xen-drbd Thu Sep 27 23:27:58 2007 +0300 1.2 +++ b/init.d-xen-drbd Thu Aug 14 22:04:16 2008 +0300 1.3 @@ -17,7 +17,12 @@ 1.4 fi 1.5 ;; 1.6 stop) 1.7 - $XEN_DRBD_PATH/xen-drbd.py $STOP_ACTION 1.8 + if [ -z "$STOP_ACTION" ] || echo $STOP_ACTION | grep -qix nothing 1.9 + then 1.10 + true 1.11 + else 1.12 + $XEN_DRBD_PATH/xen-drbd.py $STOP_ACTION 1.13 + fi 1.14 ;; 1.15 *) 1.16 echo $0 'start|stop'