summaryrefslogtreecommitdiff
path: root/etc/rc.d/ldconfig
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2005-01-16 03:12:03 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2005-01-16 03:12:03 +0000
commit835e0fa318d85113643e78fceff2f806f6c34fc4 (patch)
tree8f6cf111cb0e8e2d3e4b6de237cc45349c75d94a /etc/rc.d/ldconfig
parent7c804097a493d5a3c871e83f157f80bfadc077fd (diff)
downloadsrc-test2-835e0fa318d85113643e78fceff2f806f6c34fc4.tar.gz
src-test2-835e0fa318d85113643e78fceff2f806f6c34fc4.zip
Notes
Diffstat (limited to 'etc/rc.d/ldconfig')
-rwxr-xr-xetc/rc.d/ldconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.d/ldconfig b/etc/rc.d/ldconfig
index 507118c59dbf..4d7632ad9ff6 100755
--- a/etc/rc.d/ldconfig
+++ b/etc/rc.d/ldconfig
@@ -5,7 +5,7 @@
#
# PROVIDE: ldconfig
-# REQUIRE: mountcritremote
+# REQUIRE: mountcritremote cleanvar
# BEFORE: DAEMON
. /etc/rc.subr
@@ -28,7 +28,9 @@ ldconfig_start()
fi
done
echo 'ELF ldconfig path:' ${_LDC}
+ldconfig -r >/tmp/ldcon.`basename $0`.0before
${ldconfig} -elf ${_ins} ${_LDC}
+ldconfig -r >/tmp/ldcon.`basename $0`.1after
# Legacy aout support for i386 only
case `sysctl -n hw.machine_arch` in