Seems like a simple thing. How can I run custom script on my (rooted) android with LineageOS at boot?
Neither creating it as
/data/local/userinit.sh did not help.
The LineageOS actually states in
/etc/init.d/20userinit that it will run
/data/local/userinit.sh if exists, but according to
logcat it does not.
The script (in my case) runs SSH daemon, which runs fine when I execute the script manually.