guys! I put the insmods inside init.rc. Problem solved. dont worry about it.
>just curios .. why should you need to play with init.goldfish.rc .. are you >trying something with android emulator? I had earlier written a shell script to insmod the modules (around 10) and place a command to execute the shell script inside init.rc, when that did not work, I tried the goldfish.rc. Then, I read the android init language doc and I realised that there is no "sh" command to run a shellscript. So I just put the actual insmod commands in init.rc and everything works fine. end of story! On Dec 17, 5:19 pm, "Arun K. Singh" <[email protected]> wrote: > just curios .. why should you need to play with init.goldfish.rc .. are you > trying something with android emulator? > > Best Regards, > Arun Kumar Singhwww.crazydaks.com > > <http://www.crazydaks.com/> > > On Fri, Dec 17, 2010 at 2:09 PM, Earlence <[email protected]> wrote: > > yeah...I put them there. > > > On Dec 17, 9:31 am, hedwin <[email protected]> wrote: > > > /system/lib/modules might also be a good location > > > > On Thu, Dec 16, 2010 at 1:15 PM, Arun K. Singh <[email protected]> > > wrote: > > > > > Perhaps a bit of grepping into past Android discussions helps :-) > > anyways > > > > init.rc the only and correct place for insmod. add modules in > > /lib/modules > > > > and insmod via init.rc > > > > > Best Regards, > > > > Arun Kumar Singh > > > >www.crazydaks.com > > > > > On Thu, Dec 16, 2010 at 5:25 PM, Earlence <[email protected]> > > wrote: > > > > >> I added the insmods to init.rc > > > > >> On Dec 15, 8:24 pm, Earlence <[email protected]> wrote: > > > >> > does not execute** (typo) > > > > >> > On Dec 15, 11:56 am, Earlence <[email protected]> wrote: > > > > >> > > Hi, > > > > >> > > I have to insmod the kernel modules for netfilter to init iptables > > at > > > >> > > boot up. > > > >> > > I have written a small shell script that insmods the modules in a > > > >> > > specific order. > > > >> > > How and where I can schedule an automatic execution of this file? > > > > >> > > I have tried modifying init.goldfish.sh, but the script does > > execute. > > > > >> > > Cheers, > > > >> > > Earlence > > > > >> -- > > > >> unsubscribe: > > > >> [email protected]<android-kernel%[email protected]> > > > >> website:http://groups.google.com/group/android-kernel > > > > > -- > > > > unsubscribe: > > > > [email protected]<android-kernel%[email protected]> > > > > website:http://groups.google.com/group/android-kernel > > > -- > > unsubscribe: > > [email protected]<android-kernel%[email protected]> > > website:http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
