This commit is contained in:
2025-05-26 19:48:59 -05:00
parent 23318c75d0
commit 109ab49033
2 changed files with 24 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
PW_VERS='2.8.41-05262025'
PW_VERS='2.9.2-05262025'
noheader=' update service dailytemp confsync -r -report test '
@@ -36,13 +36,13 @@ M_SRVCOPT=(start stop restart reload enable disable)
source ${PW_FOLDER}/conf/settings.conf
# if [[ "${IP}" = "10.2.1."* ]]; then
if [[ "${IP}" = "10.6.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 127.0.0.1 -P 3308 --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'
# fi
fi
EMAIL_NOTICE=${PW_EMAIL_NOTICE}
PUSHOVER_APP_TOKEN=${PW_PUSHOVER_APP_TOKEN}