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
hi
can you send me your rcS file folder path in your sd card
Thanks
shan
path /etc/rc.d/rcS
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
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.