Update defaults.inc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user