Add Android init script to start anboxd

This commit is contained in:
Simon Fels 2016-09-17 10:47:32 +02:00
commit fb5ca57cfc
2 changed files with 3 additions and 0 deletions

View file

@ -22,6 +22,7 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE := anboxd
LOCAL_INIT_RC := android/anboxd.rc
LOCAL_SRC_FILES := \
android/service/main.cpp \
android/service/daemon.cpp \

2
android/anboxd.rc Normal file
View file

@ -0,0 +1,2 @@
service anboxd /system/bin/anboxd
class boot