diff options
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp index d6ed79c7e..35e61162e 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -57,6 +57,7 @@ extern "C" { #include "partitions.hpp" #include "variables.h" #include "openrecoveryscript.hpp" +#include "twrp-functions.hpp" TWPartitionManager PartitionManager; @@ -887,8 +888,8 @@ main(int argc, char **argv) { printf("\n"); // Check for and run startup script if script exists - check_and_run_script("/sbin/runatboot.sh", "boot"); - check_and_run_script("/sbin/postrecoveryboot.sh", "boot"); + TWFunc::check_and_run_script("/sbin/runatboot.sh", "boot"); + TWFunc::check_and_run_script("/sbin/postrecoveryboot.sh", "boot"); #ifdef TW_INCLUDE_INJECTTWRP // Back up TWRP Ramdisk if needed: |