Update powerwall.sh

This commit is contained in:
voltron committed 2023-11-02 10:39:02 -05:00
1 parent 1703ef5841
commit 2b3b970d08
1 file changed
+1 -1
+1 -1
View File
@@ -1245,7 +1245,7 @@ LOGROTATE(){
# sleep 5s
# STARTALL_SERVICES
backupstokeep=(`ls -d ${PW_LOGARCHIVE}/* 2> /dev/null | sort | tail -4`)
backupstokeep=(`ls -d ${PW_LOGARCHIVE}/* 2> /dev/null | sort | tail -12`)
for folder in $(ls -d ${PW_LOGARCHIVE}/* | sort -r); do
echo -en "${folder} = "
keep=0