projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add ldd and ldconfig support, template packages derived from gcc and uclibc
[openwrt-10.03/.git]
/
package
/
base-files
/
files
/
etc
/
profile
diff --git
a/package/base-files/files/etc/profile
b/package/base-files/files/etc/profile
index aee0de2b8463dfc10b5b884b3ae6001195edd220..c5d7e025804b63ae2c8eb80246441ebf3b201de6 100644
(file)
--- a/
package/base-files/files/etc/profile
+++ b/
package/base-files/files/etc/profile
@@
-10,5
+10,5
@@
alias more=less
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
arp() { cat /proc/net/arp; }
-ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
+
[ -z /bin/ldd ] ||
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }