X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/7619fe0848dc5f31d5c4c4cadd2ec067bd5c55d1..69cdd2998607697bdf28064fe965bbec9c781372:/package/base-files/default/etc/profile?ds=sidebyside diff --git a/package/base-files/default/etc/profile b/package/base-files/default/etc/profile index 1d98ae340..c42ee4a89 100644 --- a/package/base-files/default/etc/profile +++ b/package/base-files/default/etc/profile @@ -5,7 +5,8 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin export PS1='\u@\h:\w\$ ' [ -x /usr/bin/less ] || alias less=more -alias vim=vi +[ -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; }