X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/05adaa9794e41d02870a74a1ed7ba58cc59b9286..d92ab4b98c9d797587af5c81c3ffa6fbe15d206c:/package/base-files/files/etc/profile?ds=inline diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index ae514b092..aee0de2b8 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -7,6 +7,8 @@ export PS1='\u@\h:\w\$ ' alias more=less [ -x /usr/bin/vim ] || alias vim=vi +[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc + arp() { cat /proc/net/arp; } ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }