diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2007-12-18 01:35:26 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2007-12-18 01:35:26 +0000 |
| commit | 892b55384b5e75c8949b643352e2010c104d40ca (patch) | |
| tree | bdb6573bf21c885ba7d050e35d92ced81316a462 | |
| parent | 46e6d5f62876bd2ccebe729c529e7e529e4fbd2a (diff) | |
Notes
| -rwxr-xr-x | etc/rc.d/ldconfig | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/etc/rc.d/ldconfig b/etc/rc.d/ldconfig index 481a2a5364b9..d9edde2aedab 100755 --- a/etc/rc.d/ldconfig +++ b/etc/rc.d/ldconfig @@ -50,8 +50,14 @@ ldconfig_start() fi fi done - echo '32-bit compatibility ldconfig path:' ${ldconfig32_paths} - ${ldconfig} -32 -m ${_ins} ${ldconfig32_paths} + _LDC="" + for i in ${ldconfig32_paths}; do + if [ -r "${i}" ]; then + _LDC="${_LDC} ${i}" + fi + done + echo '32-bit compatibility ldconfig path:' ${_LDC} + ${ldconfig} -32 -m ${_ins} ${_LDC} ;; esac |
