$DIR/scripts/restore-defaults $testname
+ ##########################################################################
+ # remove any charon.pid files that still may exist
+ #
+
+ for host in $IPSECHOSTS
+ do
+ eval HOSTLOGIN=root@\$ipv4_${host}
+ ssh $SSHCONF $HOSTLOGIN 'if [ -f /var/run/charon.pid ]; then rm /var/run/charon.pid; echo " removed charon.pid on `hostname`"; fi'
+ done
+
fi
############################################################################
</tr>
@EOF
-
- ##########################################################################
- # remove any charon.pid files that still may exist
- #
-
- for host in $IPSECHOSTS
- do
- eval HOSTLOGIN=root@\$ipv4_${host}
- ssh $SSHCONF $HOSTLOGIN 'if [ -f /var/run/charon.pid ]; then rm /var/run/charon.pid; echo " removed charon.pid on `hostname`"; fi'
- done
-
##########################################################################
# exit if aborted or running only pre-/posttest scripts
#