How to Make an executable Linux Binary run at startup in Yocto Linux on Intel Galileo -


i trying implement lwm2m client (eclipse/wakaama · github) on intel galelio board. have implemented feature in client ( galileo board) restart once executed restart server, on restart client should automatically restart executable binary. tried option available on various forums didn't work. gave proper permission, updated rc.d , visible in run level 3, binary not executed. can 1 please me this?

i have tried steps in link

it's had tell distance. ideas working:

  1. you shouldn't link executable directly; files in /etc/init.d should scripts invoke executable correct options.

  2. after installing script, try run command line make sure works.

  3. select number between 2 scripts run in runlevel. if have scripts numbers 10 , 20, give script 15. if see 20 script run during boot, can pretty sure script run before that.

  4. add logging script check whether fails @ point. simple

     echo "1" >> /tmp/l2m.log 

    is enough see how far script gets.

  5. add -x hashbang line of start script make print every command before executes it.

  6. make sure output of executable redirected properly, can see errors.


Comments

Popular posts from this blog

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

node.js - Using Node without global install -

java - JavaScript + Thymeleaf - select onchange -