Openwrt/openwrt/package/base-files/default/etc/profile
Mike Baker a2d6de33b5 change more to less
SVN-Revision: 4774
2006-09-07 17:40:28 +00:00

13 lines
295 B
Bash

#!/bin/sh
[ -f /etc/banner ] && cat /etc/banner
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PS1='\u@\h:\w\$ '
alias more=less
[ -x /usr/bin/vim ] || alias vim=vi
arp() { cat /proc/net/arp; }
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }