Update defaults.inc
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VERS='2.8.9-11292024'
|
||||
VERS='2.8.10-12012024'
|
||||
|
||||
noheader=' update service dailytemp confsync -r -report test '
|
||||
|
||||
@@ -31,7 +31,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
|
||||
mqtt_conn="/usr/bin/mosquitto_sub -h ${PW_IP} -u ${PW_MQTT_USER} -P ${PW_MQTT_PASS}"
|
||||
mysql_conn="/usr/bin/mariadb -h ${PW_MYSQL_HOST} --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
|
||||
mysql_conn="/usr/bin/mariadb -h 127.0.0.1 -P 3307 --user=${PW_MYSQL_USER} --password=${PW_MYSQL_PASS}"
|
||||
# else
|
||||
# mqtt_conn="/usr/bin/mosquitto_sub -h 127.0.0.1 -u ${PW_MQTT_USER} -P ${PW_MQTT_PASS}"
|
||||
# mysql_conn='/usr/bin/mariadb'
|
||||
|
||||
Reference in New Issue
Block a user