From: Oyvind Repvik Date: Fri, 1 Jul 2005 00:02:10 +0000 (+0000) Subject: Add and export TERM and EDITOR variables. Should be sane defaults. X-Git-Tag: Release-2010-05/1~9453^2~4256^2~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be3ad977017a24c6547d492c99d51fa5083bd34b;p=openembedded.git Add and export TERM and EDITOR variables. Should be sane defaults. Without this, packages like cron "break" (User has to figure out how to set it) --- diff --git a/packages/base-files/base-files/profile b/packages/base-files/base-files/profile index 3de4dfe607..f24fec92ca 100644 --- a/packages/base-files/base-files/profile +++ b/packages/base-files/base-files/profile @@ -2,6 +2,8 @@ # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). PATH="/usr/local/bin:/usr/bin:/bin" +EDITOR="/bin/vi" # needed for packages like cron +TERM="vt100" # Basic terminal capab. For screen etc. if [ "`id -u`" -eq 0 ]; then PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: @@ -18,7 +20,7 @@ if [ -d /etc/profile.d ]; then unset i fi -export PATH PS1 OPIEDIR QPEDIR QTDIR +export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM umask 022