From 94d6379ba442eac176300d37a194c4e9a65c0e1e Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Mon, 30 Jul 2007 09:36:46 +0000 Subject: [PATCH] some more POSIX fixes git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2573 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- gentoo/util-vserver | 8 ++++---- gentoo/vprocunhide | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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 diff --git a/gentoo/vprocunhide b/gentoo/vprocunhide index d7199ca..251bfba 100644 --- a/gentoo/vprocunhide +++ b/gentoo/vprocunhide @@ -4,13 +4,13 @@ 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 "Fixing /proc entries visibility" ${_VPROCUNHIDE} -- 1.8.1.5