android_device_samsung_msm8.../rootdir/bin/loggy.sh
2022-12-01 19:37:31 +00:00

6 lines
147 B
Bash

#!/system/bin/sh
# loggy.sh.
_date=`date +%F_%H-%M-%S`
logcat -b all -v time -f /cache/logcat_${_date}.txt &
dmesg -w > /cache/kmsg_${_date}.txt