summaryrefslogtreecommitdiffstats
path: root/prebuilt/install-recovery.sh
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-02-06 21:33:02 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-02-08 04:54:33 +0100
commit0385f518570c18cefacf41c86e0aa02043c9f18c (patch)
tree29769e9c77dc3a84575fe5622c458df542c60fc2 /prebuilt/install-recovery.sh
parentSeparate out function for reading /system/build.prop values (diff)
downloadandroid_bootable_recovery-0385f518570c18cefacf41c86e0aa02043c9f18c.tar
android_bootable_recovery-0385f518570c18cefacf41c86e0aa02043c9f18c.tar.gz
android_bootable_recovery-0385f518570c18cefacf41c86e0aa02043c9f18c.tar.bz2
android_bootable_recovery-0385f518570c18cefacf41c86e0aa02043c9f18c.tar.lz
android_bootable_recovery-0385f518570c18cefacf41c86e0aa02043c9f18c.tar.xz
android_bootable_recovery-0385f518570c18cefacf41c86e0aa02043c9f18c.tar.zst
android_bootable_recovery-0385f518570c18cefacf41c86e0aa02043c9f18c.zip
Diffstat (limited to 'prebuilt/install-recovery.sh')
-rwxr-xr-xprebuilt/install-recovery.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/prebuilt/install-recovery.sh b/prebuilt/install-recovery.sh
index 9b4374520..f62cf0b96 100755
--- a/prebuilt/install-recovery.sh
+++ b/prebuilt/install-recovery.sh
@@ -5,15 +5,13 @@
# to launch it from init.rc
# Launches SuperSU in daemon mode only on Android 4.3+.
-# Nothing will happen on 4.2.x or older.
+# Nothing will happen on 4.2.x or older, unless SELinux+Enforcing.
# If you want to force loading the daemon, use "--daemon" instead
/system/xbin/daemonsu --auto-daemon &
-# Some apps like to run stuff from this script as well, but the
-# installer will have done "chattr +i" on this file to prevent
-# accidental modification and deletion. In your code, just search
-# this file for "install-recovery-2.sh", and if present, write
-# there instead.
+# Some apps like to run stuff from this script as well, that will
+# obviously break root - in your code, just search this file
+# for "install-recovery-2.sh", and if present, write there instead.
/system/etc/install-recovery-2.sh