diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-03-24 21:51:44 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-03-24 21:51:44 +0000 |
commit | c7ce5e06da9decfaff22b3a4a2739a739ba8f9ce (patch) | |
tree | d8eefe9385dbff74c750ffbbd9943c1c330f7d18 | |
parent | 9f205cc473a718c92bf6588856ea0499eee3087c (diff) | |
download | mtk-20170518-c7ce5e06da9decfaff22b3a4a2739a739ba8f9ce.zip mtk-20170518-c7ce5e06da9decfaff22b3a4a2739a739ba8f9ce.tar.gz mtk-20170518-c7ce5e06da9decfaff22b3a4a2739a739ba8f9ce.tar.bz2 |
Use MiBSD ksh if installed (#1470)
SVN-Revision: 6687
-rw-r--r-- | package/base-files/files/etc/profile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index ae514b0..aee0de2 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; } |