diff options
author | Simon Shields <keepcalm444@gmail.com> | 2015-12-12 19:53:37 +1100 |
---|---|---|
committer | Simon Shields <keepcalm444@gmail.com> | 2015-12-12 19:53:37 +1100 |
commit | 7f67b4e9402a566b85951a3b21049592e4c070ef (patch) | |
tree | 77b58742e08e35e5cb399cd5fa9265a636900356 | |
parent | 967c5036d6923374b829a16990bfb0c18a64a075 (diff) | |
download | vendor_replicant-7f67b4e9402a566b85951a3b21049592e4c070ef.zip vendor_replicant-7f67b4e9402a566b85951a3b21049592e4c070ef.tar.gz vendor_replicant-7f67b4e9402a566b85951a3b21049592e4c070ef.tar.bz2 |
sysinit: use a for loop instead of run-parts
Change-Id: Ifdff2c72ff4f77ff5ceb14cc9614174024b04d1a
-rw-r--r-- | prebuilt/common/bin/sysinit | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/prebuilt/common/bin/sysinit b/prebuilt/common/bin/sysinit index c265a85..431afbc 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 |