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"