postrecoveryboot: rename script to reflect recovery mode
Change-Id: Ifb9d64a2bec118592523682749093bf894ec2cbe
(cherry picked from commit 4076a67cd3b101999a2a852979f95c44425d36d0)
diff --git a/twrp.cpp b/twrp.cpp
index 5cb2209..aa09e2c 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -201,7 +201,7 @@
// Check for and run startup script if script exists
TWFunc::check_and_run_script("/system/bin/runatboot.sh", "boot");
- TWFunc::check_and_run_script("/system/bin/postrecoveryboot.sh", "boot");
+ TWFunc::check_and_run_script("/system/bin/postrecoveryboot.sh", "recovery");
#ifdef TW_INCLUDE_INJECTTWRP
// Back up TWRP Ramdisk if needed: