[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread Chris Stratton
Some of the community roms offer a busybox based fdisk. On Sep 20, 1:21 pm, Vishnu Pratap Singh wrote: > Hi Chris, > > I want to use fdisk command, but that command is not not avilable in > toolbox, even not recognized by > init script also. so i want to add this command in android init language.

Re: [android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread Vishnu Pratap Singh
Hi Chris, I want to use fdisk command, but that command is not not avilable in toolbox, even not recognized by init script also. so i want to add this command in android init language. is it possible ? Regards, Vishnu On Mon, Sep 20, 2010 at 10:30 PM, archieval wrote: > Hi Chris, > > Where do y

[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread archieval
Hi Chris, Where do you place exec? on boot trigger? Because it hasn't worked for me. On Sep 20, 9:02 pm, Chris Stratton wrote: > Try using symlink command instead of ln, there may already be examples > in your init.rc > > If /system is mounted by the time you want to do it you could also try > a

[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-20 Thread Chris Stratton
Try using symlink command instead of ln, there may already be examples in your init.rc If /system is mounted by the time you want to do it you could also try an exec on /system/bin/ln or /system/bin/toolbox with ln as the first argument. But probably better to use init's built in command. On Sep

[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-19 Thread riccati
Hello, Yes it is possible but I do not know how. I think what you are trying to do is to run shell commands during startup? You can probably create something like a myscript.sh and have it somewhat called in the init.rc. I am also trying to do this but no luck. I tried to make an automount script

Re: [android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-19 Thread Vishnu Pratap Singh
Dear Reccati, can we add some additional commands in Android init language ? On Mon, Sep 20, 2010 at 10:26 AM, riccati wrote: The only accepted commands are those in Android init language. Refer > to this website: > http://source.android.com/porting/bring_up.html > > On Sep 20, 12:39 pm, vish

[android-kernel] Re: Linux commands not found in init.rc scripts

2010-09-19 Thread riccati
The only accepted commands are those in Android init language. Refer to this website: http://source.android.com/porting/bring_up.html On Sep 20, 12:39 pm, vishnu wrote: > Hi All, > > I am trying to create some soft links by init.rc script, but the "ln" > command is not recognized by the init.rc s