cm: Add support for /data/local/userinit.sh
This commit is contained in:
parent
ab2d3b308d
commit
fcab753014
@ -19,3 +19,12 @@ then
|
||||
logwrapper busybox run-parts $SD_EXT_DIRECTORY/userinit.d;
|
||||
setprop cm.userinit.active 1;
|
||||
fi;
|
||||
|
||||
if [ -e /data/local/userinit.sh ];
|
||||
then
|
||||
log -p i -t userinit "Executing /data/local/userinit.sh";
|
||||
busybox chmod +x /data/local/userinit.sh;
|
||||
logwrapper /system/bin/sh /data/local/userinit.sh;
|
||||
setprop cm.userinit.active 1;
|
||||
fi;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user