1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 21:23:19 +02:00
openwrt-xburst/package/base-files/default/etc/profile
wbx 7f5de61a87 check if vim exist, report bye datenmaulwurf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-10 21:54:19 +00:00

13 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; }