From 628f5d0ee70daec242062a3dda3a7784d516dd30 Mon Sep 17 00:00:00 2001 From: Joshua Hill Date: Tue, 22 Jun 2010 03:35:54 -0400 Subject: Small change to make the program use irecovery command functions rather then duplicating them --- src/recovery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/recovery.c') 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; -- cgit v1.1-32-gdbae