#!/vendor/bin/sh | |
#init cannot access ro.kernel.android.bootanim, | |
#so do a translation into vendor.qemu space | |
bootanim=`getprop ro.kernel.android.bootanim` | |
case "$bootanim" in | |
"") | |
;; | |
*) setprop vendor.qemu.android.bootanim 0 | |
;; | |
esac | |
# take the wake lock | |
echo "emulator_wake_lock" > /sys/power/wake_lock |