AnsweredAssumed Answered

How to add the initscript and run during the devce boot on imx6ul

Question asked by chaocheng do on May 21, 2018
Latest reply on May 22, 2018 by Victor Linnik

I want to add one script file pvs6-startLTE.sh in the /etc/init.d/ and can be run by rcS.d the during boot up.
I follow the post https://community.nxp.com/message/652816 to add the code and file.
After load rootfs into device, I can see the script file in the /etc/init.d/pvs6-startLTE.sh and /etc/rcS.d/S99pvs6-startLTE.sh

#ls -all
#lrwxrwxrwx 1 root root 26 Jan 1 1970 S99pvs6-startLTE.sh -> ../init.d/pvs6-startLTE.sh

But the script can not run during the boot.
The console message will show as below.
[ SKIP ] Ordering cycle found, skipping pvs6-startLTE.service
How do I solve this problem ?

Attachments

Outcomes