From 94fa3be37083c2743589c190e727fd12f904d1a5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 24 Apr 2024 11:57:36 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index d2eaa2f5..cd2588a4 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -28,10 +28,8 @@ OFFSITE_STATICROUTE_FIX(){ if [ "$(CHECK_HOST 10.10.0.1)" != "true" ]; then if [ "$(CHECK_HOST ${NM_OFFSITE_GW_IP})" != "false" ] && [ "$(CHECK_HOST 10.5.0.1)" != "false" ] && [ "$(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 wgsts1000) - SENDNOTICE "Static Routen to Homesite Missing" "Re-added the static route onto the UniFi Gateway" + SENDNOTICE "Static Route to Homesite Missing" "Re-added the static route onto the UniFi Gateway" fi - else - echo "all good" fi }