diff options
author | Joshua Hill | 2010-06-22 03:35:54 -0400 |
---|---|---|
committer | Joshua Hill | 2010-06-22 03:35:54 -0400 |
commit | 628f5d0ee70daec242062a3dda3a7784d516dd30 (patch) | |
tree | 619a3b63321f4846c8911b776fc53c2013e30ab9 /src | |
parent | 9ac5edef25cf7e084a639c2e70f9f7e963d96152 (diff) | |
download | idevicerestore-628f5d0ee70daec242062a3dda3a7784d516dd30.tar.gz idevicerestore-628f5d0ee70daec242062a3dda3a7784d516dd30.tar.bz2 |
Small change to make the program use irecovery command functions rather then duplicating them
Diffstat (limited to 'src')
-rw-r--r-- | src/recovery.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/recovery.c b/src/recovery.c index fbcc49c..4240817 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -205,7 +205,8 @@ int recovery_send_ibec(struct idevicerestore_client_t* client) { const char* component = "iBEC"; irecv_error_t recovery_error = IRECV_E_SUCCESS; - recovery_error = irecv_send_command(client->recovery->client, "setenv auto-boot true"); + //recovery_error = irecv_send_command(client->recovery->client, "setenv auto-boot true"); + recovery_error = irecv_setenv(client->recovery->client, "auto-boot", "true"); if (recovery_error != IRECV_E_SUCCESS) { error("ERROR: Unable to set auto-boot environmental variable\n"); return -1; |