da87a7db23
We can't give exec permissions on /data, userinit.sh is sufficient for most cases. Change-Id: I924cecb2cd2ecf71bc15f77dccd2c28a19341b91
10 lines
272 B
Bash
Executable File
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;
|