1#!/bin/sh 2# 3# $NetBSD: ldconfig,v 1.5 2002/03/22 04:33:58 thorpej Exp $
| 1#!/bin/sh 2# 3# $NetBSD: ldconfig,v 1.5 2002/03/22 04:33:58 thorpej Exp $
|
4# $FreeBSD: head/etc/rc.d/ldconfig 159833 2006-06-21 10:22:44Z flz $
| 4# $FreeBSD: head/etc/rc.d/ldconfig 165664 2006-12-30 22:53:20Z yar $
|
5# 6 7# PROVIDE: ldconfig 8# REQUIRE: mountcritremote cleanvar 9# BEFORE: DAEMON 10 11. /etc/rc.subr 12 13name="ldconfig" 14ldconfig_command="/sbin/ldconfig" 15start_cmd="ldconfig_start" 16stop_cmd=":" 17 18ldconfig_start() 19{
| 5# 6 7# PROVIDE: ldconfig 8# REQUIRE: mountcritremote cleanvar 9# BEFORE: DAEMON 10 11. /etc/rc.subr 12 13name="ldconfig" 14ldconfig_command="/sbin/ldconfig" 15start_cmd="ldconfig_start" 16stop_cmd=":" 17 18ldconfig_start() 19{
|
20 local _files
| 20 local _files _ins
|
21 22 _ins= 23 ldconfig=${ldconfig_command} 24 checkyesno ldconfig_insecure && _ins="-i" 25 if [ -x "${ldconfig_command}" ]; then 26 _LDC="/lib /usr/lib" 27 for i in ${ldconfig_local_dirs}; do 28 if [ -d "${i}" ]; then
--- 49 unchanged lines hidden --- | 21 22 _ins= 23 ldconfig=${ldconfig_command} 24 checkyesno ldconfig_insecure && _ins="-i" 25 if [ -x "${ldconfig_command}" ]; then 26 _LDC="/lib /usr/lib" 27 for i in ${ldconfig_local_dirs}; do 28 if [ -d "${i}" ]; then
--- 49 unchanged lines hidden --- |