From 716e39cd70df26bb32749ee3da20e92e240213ff Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 1 Jun 2025 15:31:02 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults.inc b/defaults.inc index 1e2d8168..11fada4d 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.5.14-06012025' +VERS='5.5.15-06012025' 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 ' @@ -12,7 +12,7 @@ declare -i errtime NM_SRVCOPT=(start stop restart reload enable disable) TSI=$(/sbin/ip link | grep tailscale0) && [ ${#TSI} != 0 ] && RUN_NODE_TSIP=$(/sbin/ip -o -4 addr list tailscale0 | awk '{print $4}' | cut -d/ -f1) || RUN_NODE_TSIP= -[ "$(ip route | awk '/default/ { print $5 }')" == "link" ] && RNIP=$(ip addr show $(ip route | awk '/1 dev eth0/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) || +[ "$(ip route | awk '/default/ { print $5 }')" == "link" ] && RNIP=$(ip addr show $(ip route | awk '/1 dev eth0/ { print $5; exit }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) || RNIP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1) if [ -f ${NM_FOLDER}/conf/defaults.local.inc ]; then