openwrtv4/openwrt/package/base-files/default/etc/profile
Felix Fietkau 0884467ae8 sync base-files with whiterussian
SVN-Revision: 2260
2005-10-22 20:47:19 +00:00

12 lines
296 B
Bash

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