From 7138a9cc3abc36b07b75bf41b9559fdaa57dc9f9 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 3 Oct 2013 12:19:21 +0200 Subject: AppleTV: set auto-boot to true again after restore Apparently AppleTV units don't boot up in normal mode after restore but switch into recovery mode so we set auto-boot to true to make them boot up in normal mode. --- src/recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/recovery.c') diff --git a/src/recovery.c b/src/recovery.c index fb5a0fc..e4575fc 100644 --- a/src/recovery.c +++ b/src/recovery.c @@ -125,7 +125,7 @@ int recovery_check_mode(struct idevicerestore_client_t* client) { return 0; } -static int recovery_set_autoboot(struct idevicerestore_client_t* client, int enable) { +int recovery_set_autoboot(struct idevicerestore_client_t* client, int enable) { irecv_error_t recovery_error = IRECV_E_SUCCESS; recovery_error = irecv_send_command(client->recovery->client, (enable) ? "setenv auto-boot true" : "setenv auto-boot false"); -- cgit v1.1-32-gdbae