Update defaults.inc
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PW_VERS='2.11.15-07122025'
|
||||
PW_VERS='2.11.16-07122025'
|
||||
|
||||
noheader=' update service dailytemp confsync -r -report test '
|
||||
|
||||
@@ -21,6 +21,8 @@ PW_INCFOLDER=${PW_FOLDER}/inc
|
||||
PW_LOGARCHIVE=${PW_LOGFOLDER}/archive
|
||||
PW_TMPFOLDER=${PW_FOLDER}/.tmp
|
||||
|
||||
([ -f ${PW_TMPFOLDER}/.nosend_update ] && [ $(expr `date +%s` - $(stat -c %Y ${PW_TMPFOLDER}/.nosend_update)) -ge 45 ]) && rm -f ${PW_TMPFOLDER}/.nosend_update
|
||||
|
||||
[ ! -d ${PW_INCFOLDER} ] && mkdir ${PW_INCFOLDER}
|
||||
[ ! -d ${PW_LOGFOLDER} ] && mkdir ${PW_LOGFOLDER}
|
||||
[ ! -d ${PW_LOGARCHIVE} ] && mkdir ${PW_LOGARCHIVE}
|
||||
|
||||
Reference in New Issue
Block a user