Update defaults.inc

This commit is contained in:
2024-11-10 08:36:51 -06:00
parent a43ee39eb8
commit e0efcdc5ad

View File

@@ -30,7 +30,7 @@ source ${PW_FOLDER}/conf/settings.conf
IP=$(ip addr show $(ip route | awk '/default/ { print $5 }') | grep "inet" | head -n 1 | awk '/inet/ {print $2}' | cut -d'/' -f1)
if [[ "${IP}" = "10.2.1."* ]]; then
loo=offsite
loo=local
mqtt_conn="/usr/bin/mosquitto_sub -h ${PW_IP} -u ${PW_MQTT_USER} -P ${PW_MQTT_PASS}"
mysql_conn="/usr/bin/mysql -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
else