summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/recovery.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/recovery.c b/src/recovery.c
index 64b0bb0..3833b2a 100644
--- a/src/recovery.c
+++ b/src/recovery.c
@@ -321,12 +321,16 @@ int recovery_send_ramdisk(struct idevicerestore_client_t* client, plist_t build_
return -1;
}
+ irecv_send_command(client->recovery->client, "getenv ramdisk-delay");
+
recovery_error = irecv_send_command(client->recovery->client, "ramdisk");
if (recovery_error != IRECV_E_SUCCESS) {
error("ERROR: Unable to execute %s\n", component);
return -1;
}
+ sleep(2);
+
return 0;
}