on boot
iptables blah --blah
iptables blah --blah
service myservice /system/bin/myarm64binary --config /path/to/conf.cfg
class main
user root
According to the documentation:
https://android.googlesource.com/platform/system/core/+/master/init/README.md
> / init.rc is the most important. RC file. It is loaded by init process
> at the time of initialization. It is mainly responsible for system
> initialization. It will import / init.${ro.hardware}.rc, which is the
> main. RC file provided by system-level core vendors.
>
> When the mount_all statement is executed, ***the init process loads all
> files in the /{system,vendor,odm}/etc/init/ directory***, which will
> serve Actions and Services when the file system is mounted.
Is there something I'm missing?
service list
does not list my app and iptables not appended. Even if I test-edit init.rc
and import my .rc directly it still does nothing.
Asked by Kirikan
(79 rep)
May 18, 2020, 09:02 PM