5e9d050e18
Change-Id: I1e2ecfcbca335afd1c8bf7c6fd76684a221b99ef
16 lines
394 B
Bash
Executable File
16 lines
394 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;
|
|
|
|
if [ -d /data/local/userinit.d ];
|
|
then
|
|
busybox run-parts /data/local/userinit.d;
|
|
setprop cm.userinit.active 1;
|
|
fi;
|