summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-03 22:50:27 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-03 22:50:27 +0000
commit3195575d366ffb8ceeb65296bcc29b1a514013cf (patch)
tree13d56ad79de52045b408c5fd1e613e41c5b4b50c /package/base-files/files/etc
parentd8e7de2bd3c41ce9f7c9bc0ff7767236f1d8a905 (diff)
Add ldd and ldconfig support, template packages derived from gcc and uclibc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6856 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 aee0de2b8..c5d7e0258 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; }