Emitter: Ping Rupert twice before backup

This commit is contained in:
fruchti 2025-07-04 09:15:52 +02:00
parent 038a0c8176
commit f348a12586

View file

@ -100,7 +100,7 @@
set -e
echo "Ensuring rupert.gvfr.de is up."
${pkgs.dig}/bin/nslookup rupert.gvfr.de
${pkgs.unixtools.ping}/bin/ping -c1 rupert.gvfr.de >/dev/null
${pkgs.unixtools.ping}/bin/ping -c2 rupert.gvfr.de
echo "Opening SSH tunnel."
${pkgs.openssh}/bin/ssh -6 -i /secrets/id_burp_remote -o IdentitiesOnly=yes -o ExitOnForwardFailure=yes -L 4971:localhost:4971 burp-remote@rupert.gvfr.de -f true
echo "Beginning backup operation."