Google Groups

running a script from init.rc

HV Apr 24, 2012 5:46 PM
Posted in group: android-porting
Hi All,

 I'm trying to initiate a script as a service from init.rc (running ICS), but it doesn't seem to work. Here is what I have:

service my_sh /system/bin/sh ./system/etc/
    user root
    group root
#    oneshot

And is very simple:


echo "Executing"

Any ideas what could be missing?