Use MiBSD ksh if installed (#1470)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 24 Mar 2007 21:51:44 +0000 (21:51 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 24 Mar 2007 21:51:44 +0000 (21:51 +0000)
SVN-Revision: 6687

package/base-files/files/etc/profile

index ae514b09246579c0489c19c26480d99d38c75e05..aee0de2b8463dfc10b5b884b3ae6001195edd220 100644 (file)
@@ -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; }