ash: move code to allow setting $HOME in /etc/profile
authorStefan Hellermann <stefan@the2masters.de>
Sun, 3 Mar 2013 14:29:32 +0000 (15:29 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 15 Mar 2013 01:37:51 +0000 (02:37 +0100)
commitaeb717aa5e8a5ae650a283306091a2872628cffd
tree60cf856dd17adff48b1a484d228b632763b65062
parent9e7c002182d2ce57ac23dc65dde23e5f1f6557f0
ash: move code to allow setting $HOME in /etc/profile

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.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c