From 0bd069df6289bf75e6629c9cb51754f065f29837 Mon Sep 17 00:00:00 2001 From: LukeZGD Date: Sat, 12 Mar 2022 16:00:10 +0800 Subject: [PATCH] Wait for iproxy Add sleep 2 after running iproxy to ensure ssh connection --- resources/device.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/device.sh b/resources/device.sh index a7b5045..d69fcdb 100755 --- a/resources/device.sh +++ b/resources/device.sh @@ -302,8 +302,10 @@ kDFU() { [[ $VerDetect == 5 ]] && kloader="kloader5" [[ ! $kloader ]] && kloader="kloader" + Log "Running iproxy for SSH..." $iproxy 2222 22 & iproxyPID=$! + sleep 2 echo Log "Copying stuff to device via SSH..."