add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit
[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 arp() { cat /proc/net/arp; }
11 ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
12 reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }
This page took 0.042507 seconds and 5 git commands to generate.