Skip to content

Commit

Permalink
fix reboot command
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Nov 19, 2020
1 parent 639983b commit aa8b82e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions buildroot/usr/local/bin/reboot
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash
/etc/init.d/rc 0 > /dev/null 2>&1
adb shell reboot > /dev/null 2>&1
/etc/init.d/rc 6 > /dev/null 2>&1; \
adb kill-server > /dev/null 2>&1; \
adb disconnect > /dev/null 2>&1; \
adb shell '/system/bin/reboot' > /dev/null 2>&1

0 comments on commit aa8b82e

Please sign in to comment.