diff --git a/tools/examples/init.d/xend b/tools/examples/init.d/xend index c789d5d28d..8ad407637c 100755 --- a/tools/examples/init.d/xend +++ b/tools/examples/init.d/xend @@ -7,7 +7,7 @@ # chkconfig: 2345 98 01 # description: Starts and stops the Xen control daemon. -if ! [ -e /proc/xen/privcmd ]; then +if ! grep -q "control_d" /proc/xen/capabilities ; then exit 0 fi