summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2011-01-06 21:09:22 +0000
committerimp <imp@FreeBSD.org>2011-01-06 21:09:22 +0000
commit65e0897b21bafab7de5fdb76fa36831b1ace3d96 (patch)
tree24e6870e7567228e0edea12989a907faa839ea57 /etc/rc.d
parentae4deb7aadbe0e6c12eb264f6a7c19fd3fd582fc (diff)
downloadFreeBSD-src-65e0897b21bafab7de5fdb76fa36831b1ace3d96.zip
FreeBSD-src-65e0897b21bafab7de5fdb76fa36831b1ace3d96.tar.gz
Don't require /usr/lib/aout to be on the system. Test for its
existance since we don't generally need it. MFC after: 1 week
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/ldconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/ldconfig b/etc/rc.d/ldconfig
index 5ed1ed1..54114a6 100755
--- a/etc/rc.d/ldconfig
+++ b/etc/rc.d/ldconfig
@@ -66,8 +66,8 @@ ldconfig_start()
i386)
# Default the a.out ldconfig path.
: ${ldconfig_paths_aout=${ldconfig_paths}}
- _LDC=/usr/lib/aout
- for i in ${ldconfig_paths_aout} /etc/ld.so.conf; do
+ _LDC=""
+ for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do
if [ -r "${i}" ]; then
_LDC="${_LDC} ${i}"
fi
OpenPOWER on IntegriCloud