wok-tiny view base-tiny/stuff/etc/profile @ rev 135

hardware-ibm-6272: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 30 10:57:54 2017 +0200 (2017-09-30)
parents 371673f39e46
children
line source
1 # /etc/profile: System-wide .profile file for the Bourne shells
3 PATH="/usr/sbin:/usr/bin:/sbin:/bin"
4 LD_LIBRARY_PATH="/usr/lib:/lib"
6 # Prompt format for Ash
7 # Light green and blue colored prompt.
8 PS1='\u@\h:\w\$ '
10 # Max 64M for programs (prevent memory leak crashes)
11 ulimit -d 65536
12 ulimit -m 65536
14 # Screen display for X and encoding for GTK+ apps.
15 [ -n "$DISPLAY" ] || DISPLAY=:0.0
16 G_FILENAME_ENCODING=UTF-8
18 # Export all variables defined above and set mask.
19 #
20 export PATH LD_LIBRARY_PATH PS1 DISPLAY G_FILENAME_ENCODING
21 umask 022
23 # Locale and timezone settings.
24 #
25 if [ -s "/etc/locale.conf" ]; then
26 . /etc/locale.conf
27 export LANG LC_ALL
28 fi
29 if [ -s "/etc/TZ" ]; then
30 TZ=`cat /etc/TZ`
31 export TZ
32 fi
33 case "$TERM" in
34 xterm*|rxvt*) echo -ne "\033]0;$(hostname) $(cat /etc/slitaz-release)\007";;
35 esac