ia64/xen-unstable

changeset 19274:29cc9eef7939

init script: Enable to run xend stop when dom0 shutdown
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 05 15:06:06 2009 +0000 (2009-03-05)
parents 2a52806199fc
children 7ee8bbac10d6
files tools/hotplug/Linux/init.d/xend
line diff
     1.1 --- a/tools/hotplug/Linux/init.d/xend	Thu Mar 05 15:02:02 2009 +0000
     1.2 +++ b/tools/hotplug/Linux/init.d/xend	Thu Mar 05 15:06:06 2009 +0000
     1.3 @@ -39,11 +39,13 @@ function await_daemons_up
     1.4  
     1.5  case "$1" in
     1.6    start)
     1.7 +	touch /var/lock/subsys/xend
     1.8  	xend start
     1.9  	await_daemons_up
    1.10  	;;
    1.11    stop)
    1.12  	xend stop
    1.13 +	rm -f /var/lock/subsys/xend
    1.14  	;;
    1.15    status)
    1.16  	xend status