slitaz-tools view rootfs/usr/share/examples/etc/profile @ rev 204

keymap.conf and locale.conf are declared now
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 21 20:41:15 2008 +0000 (2008-05-21)
parents d7a24e0c3a13
children
line source
1 # /etc/profile: system-wide .profile file for the Bourne shells
3 PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
4 LD_LIBRARY_PATH="/usr/lib:/lib"
6 if [ "`id -u`" -eq 0 ]; then
7 PS1='\e[1m\u@\h:\w\#\e[m '
8 else
9 PS1='\e[1m\u@\h:\w\$\e[m '
10 fi
12 DISPLAY=:0.0
14 export PATH LD_LIBRARY_PATH PS1 DISPLAY ignoreeof
15 umask 022
17 # Locale setting.
18 if [ -s "/etc/locale.conf" ]; then
19 . /etc/locale.conf
20 export LANG LC_ALL
21 fi
23 export G_FILENAME_ENCODING=iso8859-1