summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-08 16:12:37 +0200
committerGravatar Martin Szulecki2010-07-08 16:12:37 +0200
commit410767972692ac699f7f7b40a65467fe9824a623 (patch)
tree56553d6854adc6035399d2e13d5d2b0a6e3d60ee /src/idevicerestore.c
parent89436938ba55bdac2162970b37608666a68a1bb7 (diff)
downloadidevicerestore-410767972692ac699f7f7b40a65467fe9824a623.tar.gz
idevicerestore-410767972692ac699f7f7b40a65467fe9824a623.tar.bz2
Remove activation code, this will be handled by the ideviceactivate tool
We already handle the complex restore process, let's avoid the trouble to add up the activation complexity additionally.
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 37577b0..6b17ad3 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -249,24 +249,6 @@ int main(int argc, char* argv[]) {
}
}
- // device has finished restoring, lets see if we need to activate
- if (client->mode->index == MODE_NORMAL) {
- info("Checking activation status\n");
- int activation = activate_check_status(uuid);
- if (activation < 0) {
- error("ERROR: Unable to check activation status\n");
- return -1;
- }
-
- if (activation == 0) {
- info("Activating device... \n");
- if (activate_device(uuid) < 0) {
- error("ERROR: Unable to activate device\n");
- return -1;
- }
- }
- }
-
info("Cleaning up...\n");
if (filesystem)
unlink(filesystem);