Use MiBSD ksh if installed (#1470)

SVN-Revision: 6687
owl
Florian Fainelli 2007-03-24 21:51:44 +00:00
parent 9f205cc473
commit c7ce5e06da
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ export PS1='\u@\h:\w\$ '
alias more=less alias more=less
[ -x /usr/bin/vim ] || alias vim=vi [ -x /usr/bin/vim ] || alias vim=vi
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
arp() { cat /proc/net/arp; } arp() { cat /proc/net/arp; }
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; } reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }