init: remove logwrapper
Change-Id: I1e2ecfcbca335afd1c8bf7c6fd76684a221b99ef
This commit is contained in:
parent
4e3886c73a
commit
5e9d050e18
|
@ -1,4 +1,4 @@
|
||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
|
export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
|
||||||
/system/bin/logwrapper /system/xbin/run-parts /system/etc/init.d
|
/system/xbin/run-parts /system/etc/init.d
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
if [ -e /data/local/userinit.sh ];
|
if [ -e /data/local/userinit.sh ];
|
||||||
then
|
then
|
||||||
log -p i -t userinit "Executing /data/local/userinit.sh";
|
log -p i -t userinit "Executing /data/local/userinit.sh";
|
||||||
logwrapper /system/bin/sh /data/local/userinit.sh;
|
/system/bin/sh /data/local/userinit.sh;
|
||||||
setprop cm.userinit.active 1;
|
setprop cm.userinit.active 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
if [ -d /data/local/userinit.d ];
|
if [ -d /data/local/userinit.d ];
|
||||||
then
|
then
|
||||||
logwrapper busybox run-parts /data/local/userinit.d;
|
busybox run-parts /data/local/userinit.d;
|
||||||
setprop cm.userinit.active 1;
|
setprop cm.userinit.active 1;
|
||||||
fi;
|
fi;
|
||||||
|
|
Loading…
Reference in New Issue