From aec48db4ff4f0533ba8ea76ed4d9c1ea1f526527 Mon Sep 17 00:00:00 2001 From: mineek <84083936+mineek@users.noreply.github.com> Date: Sun, 20 Nov 2022 12:35:58 +0100 Subject: [PATCH] Update palera1n.sh --- palera1n.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/palera1n.sh b/palera1n.sh index 8ff33df..65b459c 100755 --- a/palera1n.sh +++ b/palera1n.sh @@ -537,8 +537,10 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then "$dir"/iproxy 2222 22 & fi - _wait ramdisk - + while ! (remote_cmd "echo connected" &> /dev/null); do + sleep 1 + done + echo "[*] Testing for baseband presence" if [ "$(remote_cmd "/usr/bin/mgask HasBaseband | grep -E 'true|false'")" = "false" ]; then no_baseband=1