Re: [android-kernel] How to autorun a script on startup(exec command not implemented in init.rc?)

2011-05-14 Thread hedwin
service aName /aPath/aScript.sh oneschot aName - name you give to the service to run aPath - where the script is located aScript.sh - your script to start the network stuff Add this to your init,rc Hedwin On Thu, May 12, 2011 at 12:29 PM, bord...@gmail.com wrote: > Hi all: >

[android-kernel] How to autorun a script on startup(exec command not implemented in init.rc?)

2011-05-12 Thread bord...@gmail.com
Hi all: How to autorun a script to config network on startup. I try to use exec command in the init.rc, but it's not implemented yet? The "do_exec" function in "builtins.c", it simply returns -1 without doing anything. Android version 2.2 (Froyo). Kernel 2.6.32 -- Bian Jiang http://www.wifi