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