On Sun, Oct 10, 2021 at 9:30 PM JH <jupiter....@gmail.com> wrote: > 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? >
What problem are you attempting to solve by running a script from /etc/profile.d? ..Ch:W.. -- *"Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire*
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156809): https://lists.openembedded.org/g/openembedded-core/message/156809 Mute This Topic: https://lists.openembedded.org/mt/86229953/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-