if [ -f "$bn.sh" ]; then
. $bn.sh
fi
rm -f $piddir/$bn.pid
$openvpn --daemon openvpn-$bn --writepid $piddir/$bn.pid --config $c --cd $work
if [ -f $bn.online ]; then
if [ $? = 0 ]; then
fping -r 3 `cat $bn.online` &> /dev/null
successes=1
else
false
if [ $? -gt 0 ]; then
einfo "Starting connection $bn"
errors=1
ewarn "Connection $bn is already online"
done