Use /etc/rc.d/ldconfig script rather than the ldconfig command directly.

Submitted by:	matusita
This commit is contained in:
Yoshihiro Takahashi 2004-01-12 08:37:32 +00:00
parent 1b427c9cd4
commit ab0a016c08
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124418

View File

@ -450,7 +450,7 @@ release rerelease:
# NB: these may fail if the host is running w/o devfs
echo "umount /dev >/dev/null 2>&1 || true" >> ${_MK}
echo "mount -t devfs devfs /dev >/dev/null 2>&1 || true" >> ${_MK}
echo "ldconfig /lib /usr/lib /usr/local/lib" >> ${_MK}
echo "/etc/rc.d/ldconfig start" >> ${_MK}
echo "if [ ! -f /tmp/.world_done ]; then" >> ${_MK}
echo " cd /usr/src" >> ${_MK}
echo " ${CROSSMAKE} ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${_MK}