replicant-vendor_replicant/prebuilt/common/etc/init.d/90userinit
Emerson Pinter da87a7db23 userinit: kill userinit.d
We can't give exec permissions on /data, userinit.sh is sufficient for
most cases.

Change-Id: I924cecb2cd2ecf71bc15f77dccd2c28a19341b91
2015-04-07 02:23:20 +00:00

10 lines
272 B
Bash
Executable File

#!/system/bin/sh
# call userinit.sh and/or userinit.d/* scripts 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;