Busybox hush shell does not read /etc/profile

Carlos Eduardo de Paula me at carlosedp.com
Thu May 7 20:41:48 UTC 2020


On Wed, Feb 26, 2020 at 9:13 PM Carlos Eduardo de Paula
<me at carlosedp.com> wrote:
>
> I've been struggling to understand on how to make Hush shell read my
> /etc/profile.
>
> I've configured my inittab with:
>
> ::respawn:/bin/cttyhack /bin/login -f root
>
> And also tried with the leading dash:
>
> ttySIF0::respawn:-/bin/sh
>
> In both cases, the profile is not read.
>
> My code is in https://github.com/carlosedp/riscv64-nommu-buildroot/tree/k210/board/kendryte/k210
>
> What am I missing?
>

No one with clues on this? Isn't Hush supposed to read some profile
init on login?

Thanks!

-- 
________________________________________
Carlos Eduardo de Paula
me at carlosedp.com
http://carlosedp.com
https://twitter.com/carlosedp
https://www.linkedin.com/in/carlosedp/
________________________________________


More information about the busybox mailing list