create sysinit script device/hardkernel/proprietary/bin/sysinit
#!/system/bin/sh
export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
/system/bin/logwrapper /system/xbin/run-parts /system/etc/init.d
edit device.mk
# init.d support
PRODUCT_COPY_FILES += \
device/hardkernel/proprietary/bin/sysinit:system/bin/sysinit
edit init.odroidu2.rc
# Run sysinit
start sysinit
...
# sysinit (/system/etc/init.d)
service sysinit /system/bin/sysinit
user root
oneshot
build android
why support init.d?
Must do 98netflix script for Netflix service.
댓글 없음:
댓글 쓰기