openwrtv4/openwrt/package/base-files/default/etc/profile
Waldemar Brodkorb ec6c71cc30 check if vim exist, report bye datenmaulwurf
SVN-Revision: 3611
2006-04-10 21:54:19 +00:00

12 lines
319 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
[ -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; }