0
In login shells, no problem : /etc/profile
and ~/.profile
are sourced. But in non-login shells (xterm in XOrg), they aren't. The $HOME
variable isn't even set.
I'm using Fluxbox and the Bourne shell (/bin/sh
). The only user is root, with autologin.
How to tell if in login or non-login shell : https://unix.stackexchange.com/a/237672
How can I fix it ?
Platform : x86, Buildroot, Busybox, Xorg, Fluxbox, Busybox init