init.dlx.rc: boot with noop i/o scheduler to improve speed
Change-Id: I75307433fd981ff160fa6d618687e8ce84f1828b
diff --git a/rootdir/etc/init.dlx.rc b/rootdir/etc/init.dlx.rc
index ec2e2ea..2c04c87 100755
--- a/rootdir/etc/init.dlx.rc
+++ b/rootdir/etc/init.dlx.rc
@@ -2,6 +2,7 @@
on early-init
mount debugfs debugfs /sys/kernel/debug
+ write /sys/block/mmcblk0/queue/scheduler noop
on init
# See storage config details at http://source.android.com/tech/storage/
@@ -348,11 +349,14 @@
# wifi--
on property:init.svc.bootanim=stopped
- start post-boot
+ start post-boot
on property:init.svc.wpa_supplicant=stopped
stop dhcpcd
+on property:sys.boot_completed=1
+ write /sys/block/mmcblk0/queue/scheduler row
+
service post-boot /system/bin/sh /system/etc/init.post_boot.sh
user root
disabled