Commit 35fd0b3a authored by thomas.forbriger's avatar thomas.forbriger

BFO2LSDF [FIX]: do not close VPN connection

The shell script tried to close the VPN connection after having accomplished
copying data files. It still used the Juniper VPN client, which is no longer
in use. I see no reason for closing the VPN connection explicitely. For this
reason the script now leaves the tunnel open.
parent 4fba7abc
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
# 02/09/2016 V1.7 make program fit for bromo: # 02/09/2016 V1.7 make program fit for bromo:
# - support dry-run # - support dry-run
# - use openvpn instead of vpnc # - use openvpn instead of vpnc
# 12/09/2016 V1.8 do not close VPN connection
# #
# ============================================================================ # ============================================================================
# #
...@@ -158,13 +159,4 @@ do ...@@ -158,13 +159,4 @@ do
fi fi
done done
# close VPN connection
${JNC} stop > /dev/null 2>&1
if [ $? -eq 0 ]
then
${LOGGER} -i -p user.info "${LOGINFO} VPN connection successfully closed."
else
${LOGGER} -i -p user.err "${LOGERROR} While closing VNP connection."
fi
# ----- END OF BFO2LSDF.sh ----- # ----- END OF BFO2LSDF.sh -----
Markdown is supported
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