aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-03 22:50:27 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-03 22:50:27 +0000
commitda8174507aad3763465d31a3de34f6765057bc18 (patch)
treef1129a99a707375007c34fb0180821bdc01a246d /package/base-files/files/etc
parent743de3f04fd6288e8db76524a703639a0bd01b79 (diff)
downloadupstream-da8174507aad3763465d31a3de34f6765057bc18.tar.gz
upstream-da8174507aad3763465d31a3de34f6765057bc18.tar.bz2
upstream-da8174507aad3763465d31a3de34f6765057bc18.zip
Add ldd and ldconfig support, template packages derived from gcc and uclibc
SVN-Revision: 6856
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r--package/base-files/files/etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile
index aee0de2b84..c5d7e02580 100644
--- 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; }