ldconfig (240336) | ldconfig (294295) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/ldconfig 240336 2012-09-11 05:04:59Z obrien $ | 3# $FreeBSD: head/etc/rc.d/ldconfig 294295 2016-01-18 21:40:18Z imp $ |
4# 5 6# PROVIDE: ldconfig 7# REQUIRE: mountcritremote FILESYSTEMS 8# BEFORE: DAEMON 9 10. /etc/rc.subr 11 --- 44 unchanged lines hidden (view full) --- 56 fi 57 done 58 check_startmsgs && 59 echo '32-bit compatibility ldconfig path:' ${_LDC} 60 ${ldconfig} -32 -m ${_ins} ${_LDC} 61 ;; 62 esac 63 | 4# 5 6# PROVIDE: ldconfig 7# REQUIRE: mountcritremote FILESYSTEMS 8# BEFORE: DAEMON 9 10. /etc/rc.subr 11 --- 44 unchanged lines hidden (view full) --- 56 fi 57 done 58 check_startmsgs && 59 echo '32-bit compatibility ldconfig path:' ${_LDC} 60 ${ldconfig} -32 -m ${_ins} ${_LDC} 61 ;; 62 esac 63 |
64 case `sysctl -n hw.machine_arch` in 65 armv6) 66 for i in ${ldconfig_localsoft_dirs}; do 67 if [ -d "${i}" ]; then 68 _files=`find ${i} -type f` 69 if [ -n "${_files}" ]; then 70 ldconfigsoft_paths="${ldconfigsoft_paths} `cat ${_files} | sort -u`" 71 fi 72 fi 73 done 74 _LDC="" 75 for i in ${ldconfigsoft_paths}; do 76 if [ -r "${i}" ]; then 77 _LDC="${_LDC} ${i}" 78 fi 79 done 80 check_startmsgs && 81 echo 'Soft Float compatibility ldconfig path:' ${_LDC} 82 ${ldconfig} -soft -m ${_ins} ${_LDC} 83 ;; 84 esac 85 |
|
64 # Legacy aout support for i386 only 65 case `sysctl -n hw.machine_arch` in 66 i386) 67 # Default the a.out ldconfig path. 68 : ${ldconfig_paths_aout=${ldconfig_paths}} 69 _LDC="" 70 for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do 71 if [ -r "${i}" ]; then --- 12 unchanged lines hidden --- | 86 # Legacy aout support for i386 only 87 case `sysctl -n hw.machine_arch` in 88 i386) 89 # Default the a.out ldconfig path. 90 : ${ldconfig_paths_aout=${ldconfig_paths}} 91 _LDC="" 92 for i in /usr/lib/aout ${ldconfig_paths_aout} /etc/ld.so.conf; do 93 if [ -r "${i}" ]; then --- 12 unchanged lines hidden --- |