Wait for iproxy

Add sleep 2 after running iproxy to ensure ssh connection
This commit is contained in:
LukeZGD 2022-03-12 16:00:10 +08:00
parent 68997fbfae
commit 0bd069df62

View File

@ -302,8 +302,10 @@ kDFU() {
[[ $VerDetect == 5 ]] && kloader="kloader5" [[ $VerDetect == 5 ]] && kloader="kloader5"
[[ ! $kloader ]] && kloader="kloader" [[ ! $kloader ]] && kloader="kloader"
Log "Running iproxy for SSH..."
$iproxy 2222 22 & $iproxy 2222 22 &
iproxyPID=$! iproxyPID=$!
sleep 2
echo echo
Log "Copying stuff to device via SSH..." Log "Copying stuff to device via SSH..."