svn commit: r217073 - head/etc/rc.d
Warner Losh
imp at FreeBSD.org
Thu Jan 6 21:09:22 UTC 2011
Author: imp
Date: Thu Jan 6 21:09:22 2011
New Revision: 217073
URL: http://svn.freebsd.org/changeset/base/217073
Log:
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
Modified:
head/etc/rc.d/ldconfig
Modified: head/etc/rc.d/ldconfig
==============================================================================
--- head/etc/rc.d/ldconfig Thu Jan 6 21:08:06 2011 (r217072)
+++ head/etc/rc.d/ldconfig Thu Jan 6 21:09:22 2011 (r217073)
@@ -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
More information about the svn-src-head
mailing list