The first thing to get executed during linux bootting (once the rootfs has been mounted and all that fun initial uboot stuff) is /etc/inittab
Inittab is a script that will then invoke /etc/init.d/rcS and then /etc/init.d/rc [0-9]
which in turn executes the scripts in /etc/rc(runlevel)/*
So you most likely want it in the /etc/rc* directories somewhere. Sorry I can't be more explicit, but I don't yet have my own gumstix in hand to do these experiments with myself.

That should at least get you started in finding which of the rc script directories you want to put it in. Also, the scripts in the rc directories are run in numerical order, as inittab will invoke the /etc/init.d/rc script which goes through the scripts in the particular rc(?) directory that has been passed to it as a nubmer.. ie  /etc/init.d/rc 5 will run all the scripts in /etc/rc5.d

Good luck.
RIck


On Fri, Aug 7, 2009 at 4:52 AM, Piotr Bucior <piotr.bucior@javatech.com.pl> wrote:
Hi everyone,
How i can i execute this command at boot time: 'pxaregs lccr3_oep 1', also is possible to change screen orientation on gumstix-verdex.

--
Piotr Bucior


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users




--
Say you can or say you can't, either way you will be right.
Computers are like old testament gods: Lots of rules and no mercy.