blob: 9b43745202f3f7f932da5bab19e79807b690994d [file] [log] [blame]
Dees_Troya7939bb2013-08-29 20:21:12 +00001#!/system/bin/sh
2
3# If you're implementing this in a custom kernel/firmware,
4# I suggest you use a different script name, and add a service
5# to launch it from init.rc
6
7# Launches SuperSU in daemon mode only on Android 4.3+.
8# Nothing will happen on 4.2.x or older.
9# If you want to force loading the daemon, use "--daemon" instead
10
11/system/xbin/daemonsu --auto-daemon &
12
13# Some apps like to run stuff from this script as well, but the
14# installer will have done "chattr +i" on this file to prevent
15# accidental modification and deletion. In your code, just search
16# this file for "install-recovery-2.sh", and if present, write
17# there instead.
18
19/system/etc/install-recovery-2.sh