2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-07 15:20:36 +00:00

logsclaner init.d script: minor fix

This commit is contained in:
Christopher Roy Bratusek 2019-05-05 20:02:43 +02:00
parent 0d47b0fd50
commit b8070c8465

View File

@ -24,7 +24,7 @@ done
# filemask: *.* # filemask: *.*
for logpath in /cache /cache/recovery /data/system/dropbox; do for logpath in /cache /cache/recovery /data/system/dropbox; do
find ${logpath} -mtime +8 -type f -name '*.apk' -exec rm -f {} \; find ${logpath} -mtime +8 -type f -name '*.*' -exec rm -f {} \;
done done
echo "Automatic Cleaning finished at $(date +"%m-%d-%Y %H:%M:%S")" echo "Automatic Cleaning finished at $(date +"%m-%d-%Y %H:%M:%S")"