diff options
| author | Tom Rhodes <trhodes@FreeBSD.org> | 2003-06-30 15:02:05 +0000 |
|---|---|---|
| committer | Tom Rhodes <trhodes@FreeBSD.org> | 2003-06-30 15:02:05 +0000 |
| commit | f74dd4e7ccca47e5de2c7203d95b65c114ee7b54 (patch) | |
| tree | afc2820f8751aaf9352d4d1dc0befaa8701662d0 | |
| parent | eb801906b828c4aa86b0116ea633216d07ae52da (diff) | |
Notes
| -rwxr-xr-x | etc/rc.d/ldconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.d/ldconfig b/etc/rc.d/ldconfig index 37e600db7dc8..9aa7a6439b9a 100755 --- a/etc/rc.d/ldconfig +++ b/etc/rc.d/ldconfig @@ -25,8 +25,8 @@ ldconfig_start() checkyesno ldconfig_insecure && _ins="-i" if [ -x "${ldconfig_command}" ]; then _LDC=/usr/lib - for i in ${ldconfig_paths}; do - if [ -d "${i}" ]; then + for i in ${ldconfig_paths} /etc/ld-elf.so.conf; do + if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi done @@ -39,8 +39,8 @@ ldconfig_start() # Default the a.out ldconfig path. : ${ldconfig_paths_aout=${ldconfig_paths}} _LDC=/usr/lib/aout - for i in ${ldconfig_paths_aout}; do - if [ -d "${i}" ]; then + for i in ${ldconfig_paths_aout} /etc/ld.so.conf; do + if [ -r "${i}" ]; then _LDC="${_LDC} ${i}" fi done |
