[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.2-testing] xendomains script: A few bug fixes.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1221145340 -3600
# Node ID 0cdba362359249009cbaf2c13006ebe03f92bbfb
# Parent  f9fe280cbe5eb33d5dc3b6c48aa0de5daa40a786
xendomains script: A few bug fixes.

Contributed-by: Artur Linhart <AL.LINUX@xxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
xen-unstable changeset:   18465:01c8ccb551b0d4f860a4e78237de9b70baed48ba
xen-unstable date:        Thu Sep 11 15:16:11 2008 +0100
---
 tools/examples/init.d/xendomains |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r f9fe280cbe5e -r 0cdba3623592 tools/examples/init.d/xendomains
--- a/tools/examples/init.d/xendomains  Thu Sep 11 16:01:59 2008 +0100
+++ b/tools/examples/init.d/xendomains  Thu Sep 11 16:02:20 2008 +0100
@@ -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"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.