* moved files out of unnecessasry directories
* snap_version is now managed by this package
* added /etc/mtab
* added /var/log/{btmp,lastlog,wtmp}
26 lines
548 B
Bash
26 lines
548 B
Bash
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
|
|
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
|
|
|
|
alias reset='echo -e "\033c"'
|
|
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
else
|
|
PATH="/usr/local/bin:/usr/bin:/bin"
|
|
fi
|
|
export PATH
|
|
|
|
if [ "$PS1" ]; then
|
|
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
|
|
if [ -f /etc/bashrc ]; then
|
|
. /etc/bashrc
|
|
fi
|
|
else
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
PS1='# '
|
|
else
|
|
PS1='$ '
|
|
fi
|
|
fi
|
|
fi
|