diff options
Diffstat (limited to 'tools/setup-buildbot-device.sh')
| -rwxr-xr-x | tools/setup-buildbot-device.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/setup-buildbot-device.sh b/tools/setup-buildbot-device.sh index 6c2c07213f..546a6bf55b 100755 --- a/tools/setup-buildbot-device.sh +++ b/tools/setup-buildbot-device.sh @@ -38,6 +38,11 @@ fi seconds_per_hour=3600 +# Kill logd first, so that when we set the adb buffer size later in this file, +# it is brought up again. +echo -e "${green}Killing logd, seen leaking on fugu/N${nc}" +adb shell killall -9 /system/bin/logd + # Update date on device if the difference with host is more than one hour. if [ $abs_time_difference_in_seconds -gt $seconds_per_hour ]; then echo -e "${green}Update date on device${nc}" @@ -61,9 +66,6 @@ adb shell uptime echo -e "${green}Battery info${nc}" adb shell dumpsys battery -echo -e "${green}Killing logd, seen leaking on fugu/N${nc}" -adb shell killall -9 /system/bin/logd - echo -e "${green}Setting adb buffer size to 32MB${nc}" adb logcat -G 32M adb logcat -g |