mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fix the example xend init.d script so it correctly detects when it is running
in a guest. Signed-off by: Andrew Peace <andrew@xensource.com>
This commit is contained in:
1 parent
d366b69d6a
commit
4d9b8db9fc
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||