diff options
author | Rich Murphey <rich@FreeBSD.org> | 1994-03-25 04:58:58 +0000 |
---|---|---|
committer | Rich Murphey <rich@FreeBSD.org> | 1994-03-25 04:58:58 +0000 |
commit | 0bd9d48a0bec533b71f2d86ab7264126473a9f25 (patch) | |
tree | e622938c3ee02555c631ae1228b046a92b3c253c /etc | |
parent | ed7fcbd079ef3617e4ddb1ed51a6a75a7cea57c8 (diff) | |
download | src-0bd9d48a0bec533b71f2d86ab7264126473a9f25.tar.gz src-0bd9d48a0bec533b71f2d86ab7264126473a9f25.zip |
Add /usr/X11R6/lib to the ldconfig path if it exists.
Notes
Notes:
svn path=/head/; revision=1308
Diffstat (limited to 'etc')
-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 |