package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon
[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 /usr/bin/arp ] || arp() { cat /proc/net/arp; }
15 [ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
This page took 0.050241 seconds and 5 git commands to generate.