How to trigger Yocto Linux /etc/profile or shell scripts in /etc/profile.d without shell logging in?


JH
 

Hi,

The Yocto uses /etc/profile for root login, but there is no root
physical login in an embedded device so the /etc/profile is never
called, I added a shell script to /etc/profile.d, it was not called
either. Both /etc/profile and scripts in /etc/profile.d can only be
invoked when I physically log into the debug console, that is
impractical. Appreciate your advice, how do you resolve that kind of
problem?

Thank you.

Kind regards,

- jupiter

Join yocto@lists.yoctoproject.org to automatically receive all group messages.