#!/system/bin/sh | |
# Copyright 2017 Nest Labs, Inc. All rights reserved. | |
# This is a quick and dirty script to clean out the crash_sender temp files on | |
# boot | |
# Run this "find" command first in case the number of filenames is too large | |
find /data/misc/crash_reporter/tmp -name 'crash_sender*' -delete | |
rm -rf /data/misc/crash_reporter/tmp/crash_sender* | |
# TODO(fyhuang): should we also remove /data/misc/crash_reporter/tmp/(\d)+ ? |