X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gentoo%2Futil-vserver;h=c7ff3595f81a131317b0d2094bd9224d526d99f9;hb=3564d8678a2134185e5e6e83083de027b359ca28;hp=715b84c74b5c7c92569e7578cb939861ebfbcb33;hpb=81b438ba5510581d95fc5daa253743143f50544b;p=util-vserver.git diff --git a/gentoo/util-vserver b/gentoo/util-vserver index 715b84c..c7ff359 100644 --- a/gentoo/util-vserver +++ b/gentoo/util-vserver @@ -29,13 +29,13 @@ kill_contexts() { start() { : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} - if [[ ! -e ${UTIL_VSERVER_VARS} ]]; then + if [ ! -e ${UTIL_VSERVER_VARS} ]; then eerror "Cannot find util-vserver installation" eerror "(the file '$UTIL_VSERVER_VARS' would be expected)" return 1 fi - source ${UTIL_VSERVER_VARS} + . ${UTIL_VSERVER_VARS} ebegin "Setting vshelper path to $_VSHELPER" set_helper @@ -48,13 +48,13 @@ start() { stop() { : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} - if [[ ! -e ${UTIL_VSERVER_VARS} ]]; then + if [ ! -e ${UTIL_VSERVER_VARS} ]; then eerror "Cannot find util-vserver installation" eerror "(the file '$UTIL_VSERVER_VARS' would be expected)" return 1 fi - source ${UTIL_VSERVER_VARS} + . ${UTIL_VSERVER_VARS} ebegin "Stopping all running guests" $_START_VSERVERS -j 1 --all --stop