1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-05 18:02:49 +02:00
openwrt-xburst/openwrt/package/base-files/default/etc/profile

13 lines
319 B
Plaintext
Raw Normal View History

#!/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; }