logcat init script: simplify

merge-requests/23/head
Christopher Roy Bratusek 5 years ago
parent b8070c8465
commit e70ca0afc2

@ -7,4 +7,4 @@ CURDATE=$(date +%Y%m%d-%I.%M.%S)
# remove files older than a week to prevent pollution
find /data/adb/logcat/ -mtime +8 -exec rm -f {} \;
logcat | tee -a "/data/adb/logcat/${CURDATE}"
logcat -f "/data/adb/logcat/${CURDATE}" &

Loading…
Cancel
Save