I am working on a project that creates custom images for an Android 
device.  We edit the kernel and other os files.  Our system init calls 
init.herring.rc which is where we have our 'module' starting from.

service ourapp /data/local/ourapp --daemon
    class core
    user root
    group root
    oneshot

On the first boot after flashing our images onto the device 'ourapp' always 
fails due to permissions.  However, after we reboot once the 
init.herring.rc starts up 'ourapp' fine.  What could be causing this?  Why 
would a reboot be necessary for the init.rc file to start a service...

Thanks!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to