yocto.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* How to trigger Yocto Linux /etc/profile or shell scripts in /etc/profile.d without shell logging in?
@ 2021-10-11  4:29 Jupiter
  2021-10-11  4:40 ` [OE-core] " Chuck Wolber
  2021-10-11  4:43 ` Federico Pellegrin
  0 siblings, 2 replies; 5+ messages in thread
From: Jupiter @ 2021-10-11  4:29 UTC (permalink / raw)
  To: yocto; +Cc: OE

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-12  3:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11  4:29 How to trigger Yocto Linux /etc/profile or shell scripts in /etc/profile.d without shell logging in? Jupiter
2021-10-11  4:40 ` [OE-core] " Chuck Wolber
2021-10-11  4:43 ` Federico Pellegrin
2021-10-11  9:04   ` Jupiter
2021-10-12  2:59     ` Federico Pellegrin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).