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:
apeace@paploo.uk.xensource.com committed 2006-04-06 14:58:55 +01:00
1 parent d366b69d6a
commit 4d9b8db9fc
1 file changed
+1 -1
+1 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.