Update powerwall.sh
This commit is contained in:
1 parent
1703ef5841
commit
2b3b970d08
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user