From 7addf3a67fc7fae2a2a518dce31c27ecdcd46839 Mon Sep 17 00:00:00 2001 From: Cooper Quintin Date: Mon, 18 Nov 2024 17:01:38 -0800 Subject: [PATCH] fix reboot timeout --- dist/install-common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/install-common.sh b/dist/install-common.sh index 5cc8363..60b194a 100755 --- a/dist/install-common.sh +++ b/dist/install-common.sh @@ -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