This commit is contained in:
2023-12-11 20:22:29 -06:00
parent 06563c336d
commit ec9ef7319b
3 changed files with 28 additions and 36 deletions

View File

@@ -2236,6 +2236,10 @@ GET_SNAPSHOTS(){
done
}
CONFSYNC(){
rsync -az --timeout=3 ${PW_FOLDER}/settings.conf root@10.2.1.1:${PW_FOLDER}/ & >/dev/null 2>&1
}
TEST(){
start=`date +%s`
temptotal=0
@@ -2370,6 +2374,7 @@ fi
;;
logrotate) LOGROTATE;;
confsync) CONFSYNC;;
status)
CHECKPOWER
CHECKTEMP