init: remove logwrapper

Change-Id: I1e2ecfcbca335afd1c8bf7c6fd76684a221b99ef
This commit is contained in:
Georg Veichtlbauer 2015-02-04 17:49:33 +01:00 committed by Abhisek Devkota
parent 4e3886c73a
commit 5e9d050e18
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/system/bin/sh
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

View File

@ -4,12 +4,12 @@
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;
/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;
busybox run-parts /data/local/userinit.d;
setprop cm.userinit.active 1;
fi;