Dears,

I am developing a connected object based on Android. I'm developing on
Nexus7 (Tilapia) with Android 5.1. What I want to do is very basic: I
want to set firewall rules on the image. So I did this:

in the `on boot` section of init.grouper.rc I added this
start myproject-setup


and then at the end of init.grouper.rc:
service myproject-setup system/etc/init.myproject.sh
    user root
    group root
    oneshot


in the init.myproject.sh I put all the iptables rules. this file is
executable (I set it in android_filesystem_config.h)



Problem: this was working perfectly with Android 4.4.4 but with
Android 5.1 nothing happens. Iptables rules are not set. I can
manually set these rules by running /system/etc/init.myproject.sh but
I want these iptables rules set at startup automatically.

How can I debug this? What've changed in Android 5 that could be
linked to my issue?

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to