aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-09-11 15:16:11 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-09-11 15:16:11 +0100
commite8ca11f2f69648e1998944fbc1ba54a15e4b26dc (patch)
treeb64ed7c9e14f5af6ff83dd178da78f908eb17893 /tools/examples
parentf3922f4084e762c6538f1ee1d03170c3a2b4c657 (diff)
downloadxen-e8ca11f2f69648e1998944fbc1ba54a15e4b26dc.tar.gz
xen-e8ca11f2f69648e1998944fbc1ba54a15e4b26dc.tar.bz2
xen-e8ca11f2f69648e1998944fbc1ba54a15e4b26dc.zip
xendomains script: A few bug fixes.
Contributed-by: Artur Linhart <AL.LINUX@bcpraha.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/init.d/xendomains6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/examples/init.d/xendomains b/tools/examples/init.d/xendomains
index 987f994a4f..5c2e492f03 100644
--- a/tools/examples/init.d/xendomains
+++ b/tools/examples/init.d/xendomains
@@ -327,15 +327,17 @@ stop()
if test $id = 0; then continue; fi
echo -n " $name"
if test "$XENDOMAINS_AUTO_ONLY" = "true"; then
- case $name in
+ eval "
+ case \"\$name\" in
($NAMES)
# nothing
;;
(*)
- echo -n "(skip)"
+ echo -n '(skip)'
continue
;;
esac
+ "
fi
# XENDOMAINS_SYSRQ chould be something like just "s"
# or "s e i u" or even "s e s i u o"