From c7ce5e06da9decfaff22b3a4a2739a739ba8f9ce Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 24 Mar 2007 21:51:44 +0000 Subject: [PATCH] Use MiBSD ksh if installed (#1470) SVN-Revision: 6687 --- package/base-files/files/etc/profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index ae514b0924..aee0de2b84 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; } -- 2.30.2