HV--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
follow how debuggerd service is called. it will work. and add oneshot
On Wed, Apr 25, 2012 at 6:16 AM, HV <harishv...@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.shuser rootgroup root# oneshotAnd my.sh is very simple:#!/system/bin/shecho "Executing my.sh"lsmod************Any ideas what could be missing?
Thanks
HV--
unsubscribe: android-porting+unsubscribe@googlegroups.com
website: http://groups.google.com/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/my.sh
With this, I do see the service kicking in. The next challenge is how do I get the script to work. Say if I want to cd /mnt/sdcard & this should show up in the shell prompt. Is that doable? In other words, it should work exactly as though I'm manually running the script
I wanted the commands that I'm running from within the script get translated on to the console. But, I guess that's not possible
My device (HTC Amaze 4G) executes some system/bin files in the boot process for various services, such as (qcks, ks, ewmutzd, akmd, uimq) bin files.. Well I ported kernel 3.4 to htc amaze 4G, and for ramdisk i mostly used the stuff from stock ics ramdisk but when my rom (JB Sense) boots none of those files get executed.. I tried
service kickstart /system/bin/qcks 1
class core
oneshot
Like in stock when it didn't work I entered "start kickstart" under post-fs
Still nothing happening..The files are there in the system/bin directory but the service doesn't start :/ what am i missing?