mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 05:55:27 +01:00
Add /usr/X11R6/lib to the ldconfig path if it exists.
This commit is contained in:
parent
ed7fcbd079
commit
0bd9d48a0b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1308
3
etc/rc
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user