You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
416 B
16 lines
416 B
#!/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";
|
|
logwrapper /system/bin/sh /data/local/userinit.sh;
|
|
setprop cm.userinit.active 1;
|
|
fi;
|
|
|
|
if [ -d /data/local/userinit.d ];
|
|
then
|
|
logwrapper busybox run-parts /data/local/userinit.d;
|
|
setprop cm.userinit.active 1;
|
|
fi;
|