From 3d946f46eab0a50f1d28e691cfa5985af85f475b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 12 Sep 2025 14:59:02 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/defaults.inc b/defaults.inc index 01cca9c9..f1c05bb8 100755 --- a/defaults.inc +++ b/defaults.inc @@ -12,6 +12,7 @@ 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="" +echo "TSI=${TSI}" if [ "$(ip route | awk '/default/ { print $5 }')" == "link" ]; then 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)