This commit is contained in:
2025-03-13 20:45:36 -05:00
parent 8a15a81ce3
commit 5e0acc0896
2 changed files with 11 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERS='2.8.27-03132025' VERS='2.8.27b-03132025'
noheader=' update service dailytemp confsync -r -report test ' noheader=' update service dailytemp confsync -r -report test '

View File

@@ -755,6 +755,7 @@ CONFSYNC(){
} }
UPDATE_TINYTUYA_SERVER(){ UPDATE_TINYTUYA_SERVER(){
if [ -f ${NM_TMPFOLDER}/.singleserver.PW2.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO2.primary ]; then
TTS_FLDR=/opt/tinytuya-server TTS_FLDR=/opt/tinytuya-server
if [ ! -f /opt/raspiBackup.running ] && ([ -f ${NM_TMPFOLDER}/.singleserver.PW2.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO2.primary ]); then if [ ! -f /opt/raspiBackup.running ] && ([ -f ${NM_TMPFOLDER}/.singleserver.PW2.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO2.primary ]); then
if [ -d ${TTS_FLDR}/devices.json ]; then if [ -d ${TTS_FLDR}/devices.json ]; then
@@ -765,7 +766,7 @@ UPDATE_TINYTUYA_SERVER(){
sleep 1s sleep 1s
docker restart tinytuya-server docker restart tinytuya-server
fi fi
fi
} }
DOWNLIST(){ DOWNLIST(){