Update defaults.inc
This commit is contained in:
@@ -62,7 +62,7 @@ PW_ESXI_FANSPEEDCONTROLHOSTS=(${PW_ESXI_FANSPEEDCONTROL_HOSTS})
|
|||||||
[ "${PW_TEMPIND_RANGE}" != "" ] && PW_TEMPIND_RANGE=(${PW_TEMPIND_RANGE})
|
[ "${PW_TEMPIND_RANGE}" != "" ] && PW_TEMPIND_RANGE=(${PW_TEMPIND_RANGE})
|
||||||
unset IFS
|
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_POWERWALL_SERVICES
|
||||||
declare -A PW_THRESHOLDS
|
declare -A PW_THRESHOLDS
|
||||||
declare -A PW_SENSOR_TYPE
|
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
|
[ "${PW_TEMPIND_DIFF}" == "" ] && PW_TEMPIND_DIFF=1
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "NO settings.${loo}.conf FILE FOUND"
|
echo "NO settings.local.conf FILE FOUND"
|
||||||
[ "${1}" ] && [ "${1}" != "update" ] && exit 1
|
[ "${1}" ] && [ "${1}" != "update" ] && exit 1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user