ldconfig (174438) | ldconfig (174567) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/ldconfig 174438 2007-12-08 07:20:23Z dougb $ | 3# $FreeBSD: head/etc/rc.d/ldconfig 174567 2007-12-13 00:51:01Z jhb $ |
4# 5 6# PROVIDE: ldconfig 7# REQUIRE: mountcritremote cleanvar 8# BEFORE: DAEMON 9 10. /etc/rc.subr 11 --- 32 unchanged lines hidden (view full) --- 44 for i in ${ldconfig_local32_dirs}; do 45 if [ -d "${i}" ]; then 46 _files=`find ${i} -type f` 47 if [ -n "${_files}" ]; then 48 ldconfig32_paths="${ldconfig32_paths} `cat ${_files} | sort -u`" 49 fi 50 fi 51 done | 4# 5 6# PROVIDE: ldconfig 7# REQUIRE: mountcritremote cleanvar 8# BEFORE: DAEMON 9 10. /etc/rc.subr 11 --- 32 unchanged lines hidden (view full) --- 44 for i in ${ldconfig_local32_dirs}; do 45 if [ -d "${i}" ]; then 46 _files=`find ${i} -type f` 47 if [ -n "${_files}" ]; then 48 ldconfig32_paths="${ldconfig32_paths} `cat ${_files} | sort -u`" 49 fi 50 fi 51 done |
52 echo '32-bit compatibility ldconfig path:' ${ldconfig32_paths} 53 ${ldconfig} -32 -m ${_ins} ${ldconfig32_paths} | 52 _LDC="" 53 for i in ${ldconfig32_paths}; do 54 if [ -r "${i}" ]; then 55 _LDC="${_LDC} ${i}" 56 fi 57 done 58 echo '32-bit compatibility ldconfig path:' ${_LDC} 59 ${ldconfig} -32 -m ${_ins} ${_LDC} |
54 ;; 55 esac 56 57 # Legacy aout support for i386 only 58 case `sysctl -n hw.machine_arch` in 59 i386) 60 # Default the a.out ldconfig path. 61 : ${ldconfig_paths_aout=${ldconfig_paths}} --- 15 unchanged lines hidden --- | 60 ;; 61 esac 62 63 # Legacy aout support for i386 only 64 case `sysctl -n hw.machine_arch` in 65 i386) 66 # Default the a.out ldconfig path. 67 : ${ldconfig_paths_aout=${ldconfig_paths}} --- 15 unchanged lines hidden --- |