summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-27 15:49:29 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-27 15:50:56 +0200
commita58beade0a4f5342f5dcd3b3a597f9183de92260 (patch)
tree62bfd10e4fc279cc4decc7fd96a0e6a86d710008 /recovery.cpp
parentDisplay symlinks and block devices in file manager (diff)
downloadandroid_bootable_recovery-a58beade0a4f5342f5dcd3b3a597f9183de92260.tar
android_bootable_recovery-a58beade0a4f5342f5dcd3b3a597f9183de92260.tar.gz
android_bootable_recovery-a58beade0a4f5342f5dcd3b3a597f9183de92260.tar.bz2
android_bootable_recovery-a58beade0a4f5342f5dcd3b3a597f9183de92260.tar.lz
android_bootable_recovery-a58beade0a4f5342f5dcd3b3a597f9183de92260.tar.xz
android_bootable_recovery-a58beade0a4f5342f5dcd3b3a597f9183de92260.tar.zst
android_bootable_recovery-a58beade0a4f5342f5dcd3b3a597f9183de92260.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp5
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: