replicant-vendor_replicant/prebuilt/common/etc/init.d/90userinit
ginnungagap 8d2b2c75bf Update #comment to reflect removal of /data/local/userinit.d/ support
Change-Id: I7446c44f1c6388dd6ddb877a1e4ae4e6ab6c2499
2015-07-27 10:26:33 -07:00

10 lines
244 B
Bash
Executable File

#!/system/bin/sh
# call userinit.sh if present in /data/local
if [ -e /data/local/userinit.sh ];
then
log -p i -t userinit "Executing /data/local/userinit.sh";
/system/bin/sh /data/local/userinit.sh;
setprop cm.userinit.active 1;
fi;