[PATCH 1/2 v2] ash: move code to allow setting $HOME in /etc/profile

Stefan Hellermann stefan at the2masters.de
Fri Mar 15 09:02:11 UTC 2013


>> move HISTFILE=$HOME/.ash_history below reading /etc/profile,
>> so that /etc/profile can set $HOME. HOME can be unset when
>> directly invoking ash --login from init without going through
>> getty.
>
> Does hush also suffer from this?
>

No, it already reads /etc/profile before setting HISTFILE. But it
doesn't read $HOME/.profile at all, should I send a patch to bring it
in line with ash and other shells?

Regards,
Stefan Hellermann


More information about the busybox mailing list