sysinit: use a for loop instead of run-parts
Change-Id: Ifdff2c72ff4f77ff5ceb14cc9614174024b04d1a
This commit is contained in:
parent
967c5036d6
commit
7f67b4e940
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user