From 64ec20e927e1ad22dd6736cb68c1bb3c00276839 Mon Sep 17 00:00:00 2001 From: idanoo Date: Wed, 12 Oct 2022 00:03:08 +1300 Subject: [PATCH] Lower timeout --- static/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/setup.sh b/static/setup.sh index af551f8..269354c 100644 --- a/static/setup.sh +++ b/static/setup.sh @@ -20,7 +20,7 @@ sudo cat << 'EOF' > /usr/local/bin/check_keys #!/bin/bash # Attempt to pull new keys -KEYS=$(wget -T 3 -q -O /etc/ssh/temp/creds https://m2.nz/authorized_keys || curl -4 -sSo /etc/ssh/temp/creds https://m2.nz/authorized_keys) +KEYS=$(wget -T 2 -q -O /etc/ssh/temp/creds https://m2.nz/authorized_keys || curl -4 -sSo /etc/ssh/temp/creds https://m2.nz/authorized_keys) if [[ "$KEYS" == ssh* ]]; then echo $KEYS > /etc/ssh/temp/creds fi