From 53fc6254fb8e17b4afdb64c4e3380e5232842afc Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 25 Jun 2024 20:47:20 -0500 Subject: [PATCH] update --- defaults.inc | 2 +- nodemgmt-scripts.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 51134346..64dd1775 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.1.117-06132024' +VERS='5.1.118-06252024' NM_BETA=false noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix ' diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 995147b8..f1cfd3ce 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -32,7 +32,7 @@ OFFSITE_STATICROUTE_FIX(){ SENDNOTICE "VPN to Homesite is Back Up" "VPN Tunnel is up" fi if [ "$(ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${NM_OFFSITE_GW_IP} ip r | grep 10.10.0.0)" = "" ]; then - RUN=$(ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${NM_OFFSITE_GW_IP} ip r add 10.10.0.0/16 dev wgsts1001 2>&1 >/dev/null) + RUN=$(ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${NM_OFFSITE_GW_IP} ip r add 10.10.0.0/16 dev wgsts1000 2>&1 >/dev/null) if [ "${RUN}" == "" ]; then SENDNOTICE "Static Route to Homesite Missing" "Re-added the static route onto the Offsite UniFi Gateway" else