Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/ldconfig
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | armv[67]) | ||||
_LDC="${_LDC} ${i}" | _LDC="${_LDC} ${i}" | ||||
fi | fi | ||||
done | done | ||||
check_startmsgs && | check_startmsgs && | ||||
echo 'Soft Float compatibility ldconfig path:' ${_LDC} | echo 'Soft Float compatibility ldconfig path:' ${_LDC} | ||||
${ldconfig} -soft ${_ins} ${_LDC} | ${ldconfig} -soft ${_ins} ${_LDC} | ||||
;; | ;; | ||||
esac | esac | ||||
# Legacy aout support for i386 only | |||||
case ${machine_arch} in | |||||
i386) | |||||
# Default the a.out ldconfig path. | |||||
: ${ldconfig_paths_aout=${ldconfig_paths}} | |||||
_LDC="" | |||||
for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do | |||||
if [ -r "${i}" ]; then | |||||
_LDC="${_LDC} ${i}" | |||||
fi | |||||
done | |||||
check_startmsgs && echo 'a.out ldconfig path:' ${_LDC} | |||||
${ldconfig} -aout ${_ins} ${_LDC} | |||||
;; | |||||
esac | |||||
fi | fi | ||||
} | } | ||||
load_rc_config $name | load_rc_config $name | ||||
run_rc_command "$1" | run_rc_command "$1" |