From 7f67b4e9402a566b85951a3b21049592e4c070ef Mon Sep 17 00:00:00 2001 From: Simon Shields Date: Sat, 12 Dec 2015 19:53:37 +1100 Subject: [PATCH] sysinit: use a for loop instead of run-parts Change-Id: Ifdff2c72ff4f77ff5ceb14cc9614174024b04d1a --- prebuilt/common/bin/sysinit | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/prebuilt/common/bin/sysinit b/prebuilt/common/bin/sysinit index c265a85d..431afbc1 100644 --- a/prebuilt/common/bin/sysinit +++ b/prebuilt/common/bin/sysinit @@ -1,4 +1,9 @@ #!/system/bin/sh export PATH=/sbin:/system/sbin:/system/bin:/system/xbin -/system/xbin/run-parts /system/etc/init.d +for i in /system/etc/init.d/*; do + if [ -x $i ]; then + /system/bin/log -t sysinit Running $i + $i + fi +done