I think you can include the execution of your test tool in the init script 
instead of modifying init.c
http://www.kandroid.org/online-pdk/guide/bring_up.html

-Earlence

On Monday, August 13, 2012 11:19:32 AM UTC+5:30, Terence Yeong wrote:
>
> Hi guys,
>
> Sorry for the late reply.
>
> @Luke: Yeap, my fputs is showing up. I have already solved the problem of 
> execve-ing to my program. However, another problem has popped up. If user 
> input is not received, my intention is for the rest of the init process to 
> continue as normal so the phone can boot up. However I'm getting stuff like 
> this: http://pastebin.com/XxCZeECs. I've tried to integrate my custom 
> program code into init.c only to run into the same problem!  Can anyone 
> explain what's going on?
>
> @Naresh: My apologies. The if (user input received) is in psuedocode. My 
> fgets() stuff is all there, I just didn't type it out.
>

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

Reply via email to