# $Id$
# System profile for basic ALT Linux system.
#
# It is recommended that this file be left unchanged to ease upgrades,
# and any local additions go into /etc/profile.d/_local.sh.

# Users generally won't see annoyng core files, do they?
ulimit -Sc 0 >/dev/null 2>&1

umask 022

[ "$PATH" != "${PATH//$HOME\/bin}" ] || PATH="$HOME/bin:$PATH"
[ "$PATH" != "${PATH//\/usr\/X11R6\/bin}" ] || PATH="$PATH:/usr/X11R6/bin"
[ "$PATH" != "${PATH//\/usr\/games}" ] || PATH="$PATH:/usr/games"
export PATH

USER="`/usr/bin/id -un`"
[ -n "$LOGNAME" ] || LOGNAME="$USER"
[ -n "$MAIL" ] || MAIL="/var/mail/$LOGNAME"
export USER LOGNAME MAIL

HOSTNAME=`/bin/hostname`
HISTSIZE=9999
HISTFILESIZE=9999
export HOSTNAME HISTSIZE HISTFILESIZE

for f in /etc/profile.d/*.sh; do
	if [ -x "$f" ]; then
		. "$f"
	fi
done

unset f
