From 9802e241e737255d99471e16843b699bfc3a78ff Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Fri, 30 Apr 2010 10:47:02 -0500 Subject: base-files: add corecdp distro, mtcdp machine support --- recipes/base-files/base-files/mtcdp/profile | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes/base-files/base-files/mtcdp/profile (limited to 'recipes/base-files/base-files/mtcdp/profile') diff --git a/recipes/base-files/base-files/mtcdp/profile b/recipes/base-files/base-files/mtcdp/profile new file mode 100644 index 0000000000..0879251172 --- /dev/null +++ b/recipes/base-files/base-files/mtcdp/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 + -- cgit v1.2.3