ia64/xen-unstable

changeset 18478:01c8ccb551b0

xendomains script: A few bug fixes.

Contributed-by: Artur Linhart <AL.LINUX@bcpraha.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Sep 11 15:16:11 2008 +0100 (2008-09-11)
parents 4ffc70556000
children fa2adc7fb996
files tools/examples/init.d/xendomains
line diff
     1.1 --- a/tools/examples/init.d/xendomains	Thu Sep 11 15:06:22 2008 +0100
     1.2 +++ b/tools/examples/init.d/xendomains	Thu Sep 11 15:16:11 2008 +0100
     1.3 @@ -327,15 +327,17 @@ stop()
     1.4  	if test $id = 0; then continue; fi
     1.5  	echo -n " $name"
     1.6  	if test "$XENDOMAINS_AUTO_ONLY" = "true"; then
     1.7 -	    case $name in
     1.8 +	    eval "
     1.9 +	    case \"\$name\" in
    1.10  		($NAMES)
    1.11  		    # nothing
    1.12  		    ;;
    1.13  		(*)
    1.14 -		    echo -n "(skip)"
    1.15 +		    echo -n '(skip)'
    1.16  		    continue
    1.17  		    ;;
    1.18  	    esac
    1.19 +	    "
    1.20  	fi
    1.21  	# XENDOMAINS_SYSRQ chould be something like just "s" 
    1.22  	# or "s e i u" or even "s e s i u o"