Reg: Application after Booting

cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: Application after Booting

350 Views
vishvapathi
Contributor V

Hi All,

I have developed a QT application. i want to this application to start after booting, before login.

I tried to adding my file to /etc/profile and /etc/rc.d/rc.local... but didnt succeed..

kindly share your suggestions

DaianeAngolini

Raybiztech

shanmugamsundar

Labels (2)
4 Replies

72 Views
shanmugamsundar
Contributor IV

hi

can you send me your rcS file folder path in your sd card

Thanks

shan

0 Kudos

72 Views
vishvapathi
Contributor V

path /etc/rc.d/rcS

0 Kudos

72 Views
shanmugamsundar
Contributor IV

hi,

Add your script file in init.d folder and reboot, put some echo messages to find whether it is loading or not

send me your rcs file also

Thanks

shan

72 Views
vishvapathi
Contributor V

Hi,

As you suggested i coped my script to /init.d

added below line to rcS

echo Program Starting

./etc/rc.d/init.d/sample.sh

my script file sample.sh

echo Program Starting

insmod /g_webcam.ko

insmod /uvcvideo.ko

export VSALPHA=1

chmod a+x /root/user/my_qt_prog

./root/user/my_qt_prog -qws

While linux booting i get the following message

Program Starting

Program Starting

g_webcam gadget: uvc_function_bind

g_webcam gadget: Webcam Video Gadget

g_webcam gadget: g_webcam ready


But QT program is not running.....


Kindly point out my mistake...

  I have attached my rcS file.

0 Kudos