aee0de2b8463dfc10b5b884b3ae6001195edd220
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / profile
1 #!/bin/sh
2 [ -f /etc/banner ] && cat /etc/banner
3
4 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
5 export PS1='\u@\h:\w\$ '
6
7 alias more=less
8 [ -x /usr/bin/vim ] || alias vim=vi
9
10 [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
11
12 arp() { cat /proc/net/arp; }
13 ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
14 reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }