diff options
author | Nikias Bassen | 2012-02-02 20:10:59 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-02 20:10:59 +0100 |
commit | 4cd0942d51d00e3d8b12601ae5d34981a762f252 (patch) | |
tree | 9aeed3f36ced842bff8da3ada30567b18dc149a9 | |
parent | 6dfc845b3989f598d65491d93a32e2b30a0d173f (diff) | |
download | idevicerestore-4cd0942d51d00e3d8b12601ae5d34981a762f252.tar.gz idevicerestore-4cd0942d51d00e3d8b12601ae5d34981a762f252.tar.bz2 |
recovery: improve recovery_send_ramdisk
-rw-r--r-- | src/recovery.c | 4 |
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; } |