summaryrefslogtreecommitdiffstats
path: root/prebuilt/install-recovery.sh
diff options
context:
space:
mode:
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