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
commit29f0b44895e039792bcc0166b031adbba485986f (patch)
tree13d56ad79de52045b408c5fd1e613e41c5b4b50c /package/base-files/files/etc
parentb1161f8567d97462c83089b680136b00ee2c6035 (diff)
downloadupstream-29f0b44895e039792bcc0166b031adbba485986f.tar.gz
upstream-29f0b44895e039792bcc0166b031adbba485986f.tar.bz2
upstream-29f0b44895e039792bcc0166b031adbba485986f.zip
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 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; }