|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] xend: prompt user start xencommons
prompt user start xencommons first if it is not running.
Signed-off-by: Yu Zhiguo <yuzg@xxxxxxxxxxxxxx>
diff -r be32d4fe1e8a -r 139ec4ec4067 tools/hotplug/Linux/init.d/xend
--- a/tools/hotplug/Linux/init.d/xend Tue Jun 22 17:39:37 2010 +0800
+++ b/tools/hotplug/Linux/init.d/xend Tue Jun 22 18:04:59 2010 +0800
@@ -37,6 +37,11 @@
case "$1" in
start)
+ service xencommons status >/dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ echo "xencommons should be started first."
+ exit 1
+ fi
mkdir -p /var/lock/subsys
touch /var/lock/subsys/xend
xend start
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] xend: prompt user start xencommons,
Yu Zhiguo <=
|
|
|
|
|