fix swap{on,off} path
[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=/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 $*; }
This page took 0.052541 seconds and 5 git commands to generate.