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:
parent
0d47b0fd50
commit
b8070c8465
@ -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")"
|
||||||
|
Loading…
Reference in New Issue
Block a user