#!/bin/sh
# /etc/profile | system-wide initial shell environment configuration

PATH="/bin"
export PATH

LDFLAGS="-static"
export LDFLAGS

PKG_CONFIG_PATH="/lib/pkgconfig:/share/pkgconfig"
export PKG_CONFIG_PATH

: "${HOSTNAME:=$(hostname)}"
export HOSTNAME

PS1='${HOSTNAME%%.*}:$PWD'
[ "$(id -u)" -eq 0 ] && PS1="${PS1}# " || PS1="${PS1}\$ "
export PS1

for script in /etc/profile.d/*.sh ; do
	[ -r "$script" ] && . "$script"
done
unset script

[ -f "$HOME/.profile" ] && . "$HOME/.profile"
