summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrich <rich@FreeBSD.org>1994-03-25 04:58:58 +0000
committerrich <rich@FreeBSD.org>1994-03-25 04:58:58 +0000
commit744872768693764eb607602a60aca58a6e8f37d0 (patch)
treee622938c3ee02555c631ae1228b046a92b3c253c /etc
parentd777903222b11321f93bfb1f2767ba08437e3946 (diff)
downloadFreeBSD-src-744872768693764eb607602a60aca58a6e8f37d0.zip
FreeBSD-src-744872768693764eb607602a60aca58a6e8f37d0.tar.gz
Add /usr/X11R6/lib to the ldconfig path if it exists.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 803e505..1ca2180 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.19 1994/02/21 11:28:45 rgrimes Exp $
+# $Id: rc,v 1.20 1994/02/27 15:32:09 phk Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -211,6 +211,7 @@ mount -a -t nfs >/dev/null 2>&1 & # XXX shouldn't need background
# add your own entries or you may come to grief.
if [ -x /sbin/ldconfig ]; then
_LDC=/usr/lib
+ if [ -d /usr/X11R6/lib ]; then _LDC="${_LDC} /usr/X11R6/lib" ; fi
if [ -d /usr/X386/lib ]; then _LDC="${_LDC} /usr/X386/lib" ; fi
if [ -d /usr/local/lib ]; then _LDC="${_LDC} /usr/local/lib" ; fi
if [ -d /usr/gnu/lib ]; then _LDC="${_LDC} /usr/gnu/lib" ; fi
OpenPOWER on IntegriCloud