diff options
-rwxr-xr-x | backup.in | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -191,20 +191,6 @@ fi echo $$ > "${pidFile}" -if [ -n "${HoppIP}" ]; then - if ! ping -c 1 -W 20 -${ipVer} "$(extract_ssh_host "${HoppIP}")" >/dev/null; then - rm "${pidFile}" - >&2 echo "cannot ping -c 1 -W 20 -${ipVer} $(extract_ssh_host "${HoppIP}")" - exit 11 - fi -elif [ -n "${QuellIP}" ]; then - if ! ping -c 1 -W 20 -${ipVer} "$(extract_ssh_host "${QuellIP}")" >/dev/null; then - rm "${pidFile}" - >&2 echo "cannot ping -c 1 -W 20 -${ipVer} $(extract_ssh_host "${QuellIP}")" - exit 11 - fi -fi - if [ -n "${tunnelBefehl}" ]; then ${tunnelBefehl} & backgroundPid=$! |