Commit 9f26171f authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

allow to select what relays to use

parent f1427fd8
......@@ -23,27 +23,32 @@ fi
echo ""
RELAYS=
# back-relay
if test $BACKRELAY = relayno ; then
echo "relay backend not available, test skipped"
else
RELAYS="$RELAYS relay"
fi
if test "x$RELAYS" = "x" ; then
RELAYS=
# back-relay
if test $BACKRELAY = relayno ; then
echo "relay backend not available, test skipped"
else
RELAYS="${RELAYS}relay "
fi
# back-ldap
if test $BACKLDAP = ldapno ; then
echo "ldap backend not available, test skipped"
else
RELAYS="$RELAYS ldap"
# back-ldap
if test $BACKLDAP = ldapno ; then
echo "ldap backend not available, test skipped"
else
RELAYS="${RELAYS}ldap "
fi
# back-meta
if test $BACKMETA = metano ; then
echo "meta backend not available, test skipped"
else
RELAYS="${RELAYS}meta "
fi
fi
# back-meta
if test $BACKMETA = metano ; then
echo "meta backend not available, test skipped"
else
RELAYS="$RELAYS meta"
fi
echo "Using $RELAYS..."
echo ""
first=1
for RELAY in $RELAYS ; do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment