Busybox hush shell does not read /etc/profile

Carlos Eduardo de Paula me at carlosedp.com
Thu Feb 27 00:13:19 UTC 2020


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?

Thanks for any help!


-- 
________________________________________
Carlos Eduardo de Paula
me at carlosedp.com
http://carlosedp.com
http://twitter.com/carlosedp
Linkedin
________________________________________


More information about the busybox mailing list