[package] base-files: remove redundant netmask handling in 10-routes
[openwrt.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 HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
6 export HOME=${HOME:-/root}
7 export PS1='\u@\h:\w\$ '
8
9 [ -x /bin/more ] || alias more=less
10 [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
11
12 [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
13
14 [ -x /sbin/arp ] || arp() { cat /proc/net/arp; }
15 [ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
This page took 0.047026 seconds and 5 git commands to generate.