postrecoveryboot: rename script to reflect recovery mode
Change-Id: Ifb9d64a2bec118592523682749093bf894ec2cbe
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: