summaryrefslogtreecommitdiffstats
path: root/tools/android
diff options
context:
space:
mode:
Diffstat (limited to 'tools/android')
-rw-r--r--tools/android/adb_reboot/adb_reboot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/android/adb_reboot/adb_reboot.c b/tools/android/adb_reboot/adb_reboot.c
index a8115fc..48c5cbe 100644
--- a/tools/android/adb_reboot/adb_reboot.c
+++ b/tools/android/adb_reboot/adb_reboot.c
@@ -35,9 +35,7 @@ int main(int argc, char ** argv) {
time(&ct);
if (ct - ft.st_mtime > 120) {
/* File was not touched for some time. */
- system("su -c stop adbd");
- system("sleep 2");
- system("su -c start adbd");
+ system("su -c reboot");
}
}