Reg: Application after Booting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reg: Application after Booting

2,638 次查看
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

标签 (2)
4 回复数

2,360 次查看
shanmugamsundar
Contributor IV

hi

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

Thanks

shan

0 项奖励
回复

2,360 次查看
vishvapathi
Contributor V

path /etc/rc.d/rcS

0 项奖励
回复

2,361 次查看
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

2,361 次查看
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 项奖励
回复