I am wanting to run a simple script on startup of my mini 2440 board to connect a wifi module and turn on the video camera. The commands are: start-wifi wep name pass ./start_uvc.sh I looked at general linux forums and they tell me to add entries to files that the mini 2440 does not have, how can I get these commands to run automatically on the system startup?
Running Script on Startup
I'm running linux 2.6.32 and yes I do have /etc/init.d/rcS but I dropped the script path /usr/sbin/startup.sh into it and it did not run
linux 2.6.32 is the kernel. The root filesystem is ? I think you just modify the rcS file. Have a look at it, try commenting out a line (perhaps a line with echo xyz and see if something breaks. What tells the your kernel to go looking in /usr/sbin for a startup.sh?
Sorry, kind of new to the linux command line stuff. Root filesystem? And I put a link to the startup.sh script in the /usr/sbin directory inside the rcS file you mentioned but it did not work
Root filesystem. All your directories, default files before you start putting in the stuff you want. If you are using the FriendlyArm distro it is a YAFFS2 filesystem with a lot Qtopia applications. How things get initialised can vary between different root filesystems. Busybox looks for certain files during the init process. Did you try to change something in the rcS file to give you some confidence that you were changing things in the right place? Then just add your script command lines to this file. Maybe, if you copy and pasted the contents of your rcS file it might help.