]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/base-files/base-files/wrt54/profile
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / base-files / base-files / wrt54 / profile
1 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
2 # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
3
4 PATH="/usr/local/bin:/usr/bin:/bin"
5
6 if [ "`id -u`" -eq 0 ]; then
7    PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:
8 fi
9 if [ "$PS1" ]; then
10 # works for bash and ash (no other shells known to be in use here)
11    PS1='\u@\h:\w\$ '
12 fi
13
14 if [ -d /etc/profile.d ]; then
15   for i in `ls /etc/profile.d/`; do
16     . /etc/profile.d/$i
17   done
18   unset i
19 fi
20
21 export PATH PS1
22
23 umask 022
24
25 alias ll="ls -lah"