Update defaults.inc

This commit is contained in:
2025-06-14 12:15:57 -05:00
parent ee33f93db7
commit 6174f09168

View File

@@ -5,7 +5,7 @@ VERS=2.5.1-06142025
DS_FOLDER=/opt/idssys/dsmon
DS_CRONTAB_FOLDER=/opt/idssys/nodemgmt/crontabs
noheader=" gettsip-node get-crontabs get-crontab update report updatenodes runcmd "
noheader=" gettsip-node get-crontabs get-crontab update report updatenodes runcmd runcheck "
[ "$(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)