loading applications

Mike
when I start up my mini2440 I see

Starting Networking
Starting Webserver
Starting Led
Starting Qtopia

whats the file the loads all those applications?

davef
From memory, have a look at /etc/init.d/rc.S

Mike
thank you I wanted to start the streamer when I start the mini2440

and I though by adding this line to rc.S would do it

/mjpg-streamer/start_uvc.sh

but didn't work :(

any ideas what can I do?

davef
Is your .sh executable?  chmod 755 start_uvc.sh

Mike
yes it is and it executes, but you can see what happen. when it boots, then
I press enter and I can run the program without any problems

---------------------------------

Try to bring eth0 interface up......eth0: link down
Done
/mjpg-streamer/start_uvc.sh: line 30: ./mjpg_streamer: not found

Please press Enter to activate this console. eth0: link up, 100Mbps,
full-duplex, lpa 0x41E1

[root@FriendlyARM /]# cd mjpg-streamer/
[root@FriendlyARM /mjpg-streamer]# ls
LICENSE               mjpg_streamer         start_uvc.sh
input_s3c2410.so      output_file.so        start_uvc_yuv.sh
input_testpicture.so  output_http.so        www
input_uvc.so          start_s3c2410.sh
[root@FriendlyARM /mjpg-streamer]# ./start_uvc.sh
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: MJPEG
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled

Mike
I added this lines in the rc.S and it works!!!

export LD_LIBRARY_PATH="$(pwd)"

/mjpg-streamer/mjpg_streamer -o "/mjpg-streamer/output_http.so -w
./mjpg-streamer/www" -i "/mjpg-streamer/input_uvc.so "


is there a cleaner way to do it?

davef
Mike,

You are way ahead of me in finding out what to add to rc.S :)

Dave