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:
you shouldn't link executable directly; files in
/etc/init.d
should scripts invoke executable correct options.after installing script, try run command line make sure works.
select number between 2 scripts run in runlevel. if have scripts numbers
10
,20
, give script15
. if see20
script run during boot, can pretty sure script run before that.add logging script check whether fails @ point. simple
echo "1" >> /tmp/l2m.log
is enough see how far script gets.
add
-x
hashbang line of start script make print every command before executes it.make sure output of executable redirected properly, can see errors.
Comments
Post a Comment