#!/bin/bash


for i in $*
do
    info=`/opt/cloud/bin/checks2svpn.sh $i`
    ret=$?
    echo -n "$i:$ret:$info&"
done


#!/bin/bash


for i in $*
do
    info=`/opt/cloud/bin/checks2svpn.sh $i`
    ret=$?
    batchInfo+="$i:$ret:$info&"
done

echo -n ${batchInfo}

Gather all S2S vpn statuses before outputting
Gather all S2S vpn statuses before outputting
