]> git.sesse.net Git - ultimatescore/blobdiff - ultimate.sh
Allow two-hop Wireguard.
[ultimatescore] / ultimate.sh
index e06d620b27d246b36b5a5b5c30fe728cf95ae4b6..bca2812b4243ced846319439d22c8ffcadb250c4 100755 (executable)
@@ -5,7 +5,7 @@ if ! [ -d /srv/ultimate/opptak ]; then
        sudo mount /dev/disk/by-uuid/af9070b1-ba86-4240-83b3-8b866b86a46b /srv/ultimate
 fi
 
-if ! ping -c 1 -t 1 10.42.1.1 >/dev/null; then
+if ! ping -c 1 -t 2 10.42.1.1 >/dev/null; then
        echo "Wireguard tunnel is not working (cannot ping 10.42.1.1), please fix before starting streaming."
        exit
 fi