diff options
author | agrabren <agrabren@gmail.com> | 2010-12-29 12:15:18 -0600 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2010-12-29 23:03:32 -0800 |
commit | 1f76a5da6ba2afa0dc72c5d43939e6530af9814b (patch) | |
tree | bf93e13d551e3585ed36818a1009ca440a8fa350 /edifyscripting.c | |
parent | 7501798fab7f1ec17e0baaa44d611e93c3f2727a (diff) | |
download | bootable_recovery-1f76a5da6ba2afa0dc72c5d43939e6530af9814b.zip bootable_recovery-1f76a5da6ba2afa0dc72c5d43939e6530af9814b.tar.gz bootable_recovery-1f76a5da6ba2afa0dc72c5d43939e6530af9814b.tar.bz2 |
Add support for wimax imaging
Change-Id: I2f14918f3ffb37fe94bab469e1d89a9874d89d18
Diffstat (limited to 'edifyscripting.c')
-rw-r--r-- | edifyscripting.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/edifyscripting.c b/edifyscripting.c index 3b0d4c9..f7616ef 100644 --- a/edifyscripting.c +++ b/edifyscripting.c @@ -174,6 +174,7 @@ Value* RestoreFn(const char* name, State* state, int argc, Expr* argv[]) { int restoredata = 1; int restorecache = 1; int restoresdext = 1; + int restorewimax = 1; int i; for (i = 1; i < argc; i++) { @@ -189,6 +190,8 @@ Value* RestoreFn(const char* name, State* state, int argc, Expr* argv[]) { restorecache = 0; else if (strcmp(args2[i], "nosd-ext") == 0) restoresdext = 0; + else if (strcmp(args2[i], "nowimax") == 0) + restorewimax = 0; } for (i = 0; i < argc; ++i) { @@ -197,7 +200,7 @@ Value* RestoreFn(const char* name, State* state, int argc, Expr* argv[]) { free(args); free(args2); - if (0 != nandroid_restore(path, restoreboot, restoresystem, restoredata, restorecache, restoresdext)) { + if (0 != nandroid_restore(path, restoreboot, restoresystem, restoredata, restorecache, restoresdext, restorewimax)) { free(path); return StringValue(strdup("")); } |