diff --git a/defaults.inc b/defaults.inc index 3941372..a45466f 100755 --- a/defaults.inc +++ b/defaults.inc @@ -5,10 +5,10 @@ VERS=2.2.17-07042023 DS_FOLDER=/opt/idssys/dsmon DS_CRONTAB_FOLDER=/opt/idssys/nodemgmt/crontabs -if [ ${TAILSCALE} != true ] && [ "$(CHECK_HOST 10.10.10.50)" != "false" ]; then +if [ "${TAILSCALE}" != "true" ] && [ "$(CHECK_HOST 10.10.10.50)" != "false" ]; then nmip=10.10.10.50 mysqlip=10.10.1.50 -elif [ ${TAILSCALE} == true ] || [ "$(CHECK_HOST 100.100.55.1)" != "false" ]; then +elif [ "${TAILSCALE}" == "true" ] || [ "$(CHECK_HOST 100.100.55.1)" != "false" ]; then nmip=100.100.55.1 mysqlip=100.100.5.2 else