Update defaults.inc

This commit is contained in:
2024-11-10 09:01:25 -06:00
parent f46431c8f2
commit ec6d932473

View File

@@ -62,7 +62,7 @@ PW_ESXI_FANSPEEDCONTROLHOSTS=(${PW_ESXI_FANSPEEDCONTROL_HOSTS})
[ "${PW_TEMPIND_RANGE}" != "" ] && PW_TEMPIND_RANGE=(${PW_TEMPIND_RANGE})
unset IFS
if [ -f ${PW_FOLDER}/conf/settings.${loo}.conf ]; then
if [ -f ${PW_FOLDER}/conf/settings.local.conf ]; then
declare -A PW_POWERWALL_SERVICES
declare -A PW_THRESHOLDS
declare -A PW_SENSOR_TYPE
@@ -88,7 +88,7 @@ if [ -f ${PW_FOLDER}/conf/settings.${loo}.conf ]; then
[ "${PW_TEMPIND_DIFF}" == "" ] && PW_TEMPIND_DIFF=1
else
echo "NO settings.${loo}.conf FILE FOUND"
echo "NO settings.local.conf FILE FOUND"
[ "${1}" ] && [ "${1}" != "update" ] && exit 1
fi