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