diff options
author | Jesse Gilles <jgilles@multitech.com> | 2010-04-30 10:47:02 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2010-04-30 10:47:02 -0500 |
commit | 9802e241e737255d99471e16843b699bfc3a78ff (patch) | |
tree | f9a3045499410fe5436a7cfdcc675dc69e7b270c /recipes/base-files/base-files/corecdp/profile | |
parent | 9d3906716bb914851945242dc89e09947cdc3ea8 (diff) |
base-files: add corecdp distro, mtcdp machine support
Diffstat (limited to 'recipes/base-files/base-files/corecdp/profile')
-rw-r--r-- | recipes/base-files/base-files/corecdp/profile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/base-files/base-files/corecdp/profile b/recipes/base-files/base-files/corecdp/profile new file mode 100644 index 0000000000..0879251172 --- /dev/null +++ b/recipes/base-files/base-files/corecdp/profile @@ -0,0 +1,34 @@ +# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) +# 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 +test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc. + +if [ ! -e /etc/localtime ]; then + TZ="UTC" # Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html + # for an explanation of how to set this to your local timezone. + export TZ +fi + +if [ "`id -u`" -eq 0 ]; then + PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin +fi +if [ "$PS1" ]; then +# works for bash and ash (no other shells known to be in use here) + PS1='\$ ' +fi + +if [ -d /etc/profile.d ]; then + for i in /etc/profile.d/*.sh; do + if [ -r $i ]; then + . $i + fi + done + unset i +fi + +export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM + +umask 022 + |