summaryrefslogtreecommitdiffstats
path: root/etc/rc.local
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1993-12-30 02:31:16 +0000
committerjkh <jkh@FreeBSD.org>1993-12-30 02:31:16 +0000
commitd3c860aed8d839fe5ec58e33e4c084c6a929a8ca (patch)
tree638a8e2e331a58ccb1a6f2eba40b587386a46b16 /etc/rc.local
parent7c8ae9b1dd87d23ec5b36704f745ae5fc0300039 (diff)
downloadFreeBSD-src-d3c860aed8d839fe5ec58e33e4c084c6a929a8ca.zip
FreeBSD-src-d3c860aed8d839fe5ec58e33e4c084c6a929a8ca.tar.gz
Set a default ldconfig path for shared libs.
Diffstat (limited to 'etc/rc.local')
-rw-r--r--etc/rc.local4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.local b/etc/rc.local
index dbbd909..0a93836 100644
--- a/etc/rc.local
+++ b/etc/rc.local
@@ -13,6 +13,10 @@ cp $T /etc/motd
chmod 666 /etc/motd
rm -f $T
+# This is a performance win with shared libraries.
+echo 'setting default ldconfig path.'
+ldconfig /usr/lib /usr/X386/lib /usr/local/lib /usr/gnu/lib
+
echo -n 'starting local daemons:'
# Kerberos runs ONLY on the Kerberos server machine
OpenPOWER on IntegriCloud