Re: [OE-core] How to trigger Yocto Linux /etc/profile or shell scripts in /etc/profile.d without shell logging in?
Federico Pellegrin
Hi Jupiter, /etc/profile and similar are interactive shell (/bash) concepts, not really system startup ones. So indeed: just on a login (be it local, ssh and so on) they are executed. If you want to execute something else without the need for logging it, you should look elsewhere, depending on your system manager: if systemd you should create a service and enable it, if sysvinit a init.d script. HTH, Federico
Il giorno lun 11 ott 2021 alle ore 06:30 JH <jupiter.hce@...> ha scritto: Hi,
|
|