4 # Copyright (C) 2007 The Trustees of Princeton University
7 : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
8 test -e "$UTIL_VSERVER_VARS" || {
9 echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
12 . "$UTIL_VSERVER_VARS"
14 for i in $__CONFDIR/*.conf; do
16 vserver=`echo "$i" | sed "s@$__CONFDIR/@@;s@\.conf@@"`
17 echo "Processing '$vserver'"
18 if ! $_VSERVER "$vserver" convert; then
19 echo "ERROR: '$vserver' could not be converted" >&2