diff options
author | rich <rich@FreeBSD.org> | 1994-03-25 04:58:58 +0000 |
---|---|---|
committer | rich <rich@FreeBSD.org> | 1994-03-25 04:58:58 +0000 |
commit | 744872768693764eb607602a60aca58a6e8f37d0 (patch) | |
tree | e622938c3ee02555c631ae1228b046a92b3c253c /etc/rc | |
parent | d777903222b11321f93bfb1f2767ba08437e3946 (diff) | |
download | FreeBSD-src-744872768693764eb607602a60aca58a6e8f37d0.zip FreeBSD-src-744872768693764eb607602a60aca58a6e8f37d0.tar.gz |
Add /usr/X11R6/lib to the ldconfig path if it exists.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |