diff options
author | Mike Fiore <mfiore@multitech.com> | 2014-02-19 12:43:47 -0600 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2014-02-19 12:43:47 -0600 |
commit | f1482fba25bd081789fd398cba1c7e8aa95af893 (patch) | |
tree | 9e93379a0235de72557363a18f9350e2779acb9d /multitech/recipes/base-files/base-files/mtocgd2/profile | |
parent | dbd08a2ee6b362b0faadc813782213817def1543 (diff) | |
parent | 71875b452c0ed279b1514b8eb09c446145281690 (diff) |
Merge branch 'daughter-cards'
Diffstat (limited to 'multitech/recipes/base-files/base-files/mtocgd2/profile')
-rw-r--r-- | multitech/recipes/base-files/base-files/mtocgd2/profile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/multitech/recipes/base-files/base-files/mtocgd2/profile b/multitech/recipes/base-files/base-files/mtocgd2/profile new file mode 100644 index 0000000..0879251 --- /dev/null +++ b/multitech/recipes/base-files/base-files/mtocgd2/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 + |