commit | 72a1db635860db8c2e9bc4ee2ce1534c32a4b042 | [log] [tgz] |
---|---|---|
author | Koushik K. Dutta <koushd@gmail.com> | Sun Mar 07 14:10:26 2010 -0800 |
committer | Koushik K. Dutta <koushd@gmail.com> | Sun Mar 07 14:10:26 2010 -0800 |
tree | 18b83076f6aeefca9e301e7638ab4d33f0108cbc | |
parent | f68aaaf20c1f8f20825d51d6e984e9f9d75e4393 [diff] [blame] |
run an extended command script on boot if it exists
diff --git a/recovery.c b/recovery.c index 1696448..62dd8e2 100644 --- a/recovery.c +++ b/recovery.c
@@ -552,6 +552,9 @@ script_assert_enabled = 0; is_user_initiated_recovery = 1; ui_set_show_text(1); + + if (extendedcommand_file_exists()) + run_and_remove_extendedcommand(); } if (status != INSTALL_SUCCESS && !is_user_initiated_recovery) ui_set_background(BACKGROUND_ICON_ERROR);