Add ldd and ldconfig support, template packages derived from gcc and uclibc
[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 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 [ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
14 reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }
This page took 0.044386 seconds and 5 git commands to generate.