projects
/
openwrt
/
staging
/
florian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f205cc
)
Use MiBSD ksh if installed (#1470)
author
Florian Fainelli
<florian@openwrt.org>
Sat, 24 Mar 2007 21:51:44 +0000
(21:51 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sat, 24 Mar 2007 21:51:44 +0000
(21:51 +0000)
SVN-Revision: 6687
package/base-files/files/etc/profile
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/profile
b/package/base-files/files/etc/profile
index ae514b09246579c0489c19c26480d99d38c75e05..aee0de2b8463dfc10b5b884b3ae6001195edd220 100644
(file)
--- 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; }