You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
739 B
37 lines
739 B
# /etc/profile: system-wide profile file for the shell
|
|
|
|
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/var/bin
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
if [ -d "/usr/local/bin" ]; then
|
|
PATH="/usr/local/bin:$PATH"
|
|
fi
|
|
|
|
# add neutrino's luaplugindir to PATH
|
|
PATH=$PATH:/usr/share/tuxbox/neutrino/luaplugins
|
|
|
|
if [ -z "$PS1" ]; then
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
PS1='[\h] \w \# '
|
|
else
|
|
PS1='[\h] \w \$ '
|
|
fi
|
|
fi
|
|
|
|
export PATH PS1
|
|
|
|
if [ -d /etc/profile.d ]; then
|
|
for i in /etc/profile.d/*.sh; do
|
|
if [ -f $i -a -r $i ]; then
|
|
. $i
|
|
fi
|
|
done
|
|
unset i
|
|
fi
|
|
|
|
# add user's private modifications if it exists
|
|
if [ -e /var/etc/profile.local ]; then
|
|
. /var/etc/profile.local
|
|
elif [ -e /etc/profile.local ]; then
|
|
. /etc/profile.local
|
|
fi
|
|
|