root users folder is now in the fs and no longer /tmp
[openwrt/svn-archive/archive.git] / target / linux / x86 / base-files / default / etc / profile
1 #!/bin/sh
2 [ -f /etc/banner ] && cat /etc/banner
3
4 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
5 export HOME=/root
6 export PS1='\u@\h:\w\$ '
7
8 [ -x /bin/more ] || alias more=less
9 [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
10
11 [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
12
13 [ -x /sbin/arp ] || arp() { cat /proc/net/arp; }
14 [ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }