Hi Kumar,

  debuggerd is an executable, but what i'm trying to run is a script, so 
it's not exactly the same

Thanks
HV

On Tuesday, April 24, 2012 11:35:27 PM UTC-7, kumar wrote:
>
> follow how debuggerd service is called. it will work. and add oneshot
>
>
> On Wed, Apr 25, 2012 at 6:16 AM, HV <harishv.athr...@gmail.com> wrote:
>
>> 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/my.sh
>>     user root
>>     group root
>> #    oneshot
>>
>> And my.sh is very simple:
>>
>> #!/system/bin/sh
>>
>> echo "Executing my.sh"
>> lsmod
>> ************
>>
>> Any ideas what could be missing?
>>
>> Thanks
>> HV
>>
>>  -- 
>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-porting
>>
>
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to