From 7f0974809b3d88c3ee6630bf385c5f979ecb4956 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 10 Mar 2025 23:28:07 -0500 Subject: [PATCH] Update defaults.inc --- defaults.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/defaults.inc b/defaults.inc index d1cd9c7e..6f43b3a9 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.8.25-03102025' +VERS='2.8.26-03102025' noheader=' update service dailytemp confsync -r -report test ' @@ -15,12 +15,11 @@ NM_TMPFOLDER=${NM_FOLDER}/.tmp PW_FOLDER='/opt/idssys/powerwall' PW_INCFOLDER=${PW_FOLDER}/inc -[[ "${IP}" = "10.2.1."* ]] && PW_LOGFOLDER=${PW_FOLDER}/offsite/logs || PW_LOGFOLDER=${PW_FOLDER}/mainsite/logs +[[ "${IP}" = "10.2.1."* ]] && PW_LOGFOLDER=${PW_FOLDER}/logs/offsite || PW_LOGFOLDER=${PW_FOLDER}/logs/mainsite PW_LOGARCHIVE=${PW_LOGFOLDER}/archive PW_TMPFOLDER=${PW_FOLDER}/.tmp - [ ! -d ${PW_INCFOLDER} ] && mkdir ${PW_INCFOLDER} [ ! -d ${PW_LOGFOLDER} ] && mkdir ${PW_LOGFOLDER} [ ! -d ${PW_LOGARCHIVE} ] && mkdir ${PW_LOGARCHIVE}