Typo-fixed patch by mjw: Include SetupEnvironment from /etc/profile, so

shells started by remote login daemons (sshd, telnetd) also get the
environmental variables defined there. Closes #5789 and #2468.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-04-29 16:47:05 +00:00
parent 199ad3daa6
commit f1a61cda9a

View File

@ -5,6 +5,10 @@
echo -e "\nWelcome to the Haiku shell.\n"
if [ -z $BE_HOST_CPU ]; then
source /boot/system/boot/SetupEnvironment
fi
export PS1="\w> "
export HISTFILESIZE=50
export HISTCONTROL=ignoredups