]> git.sesse.net Git - ultimatescore/commitdiff
Allow two-hop Wireguard.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 8 Oct 2021 11:05:03 +0000 (13:05 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 23 Oct 2021 23:15:41 +0000 (01:15 +0200)
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