mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-12 15:53:30 -07:00
fix reboot timeout
This commit is contained in:
committed by
Will Greenberg
parent
4d8cc9b738
commit
7addf3a67f
Vendored
+1
-1
@@ -78,7 +78,7 @@ setup_rayhunter() {
|
||||
_at_syscmd "chmod 755 /etc/init.d/misc-daemon"
|
||||
|
||||
echo -n "waiting for reboot..."
|
||||
_at_syscmd reboot
|
||||
_at_syscmd "shutdown -r -t 1 now"
|
||||
|
||||
# first wait for shutdown (it can take ~10s)
|
||||
until ! _adb_shell true 2> /dev/null
|
||||
|
||||
Reference in New Issue
Block a user