|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc,v 1.182 2001/08/22 16:13:14 deraadt Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc,v 1.183 2001/09/19 16:27:47 todd Exp $ |
|
|
|
|
|
|
|
|
# System startup script run by init on autoboot |
|
|
# System startup script run by init on autoboot |
|
|
# or after single-user. |
|
|
# or after single-user. |
|
@ -366,10 +366,10 @@ fi |
|
|
if [ -f /sbin/ldconfig ]; then |
|
|
if [ -f /sbin/ldconfig ]; then |
|
|
echo 'creating runtime link editor directory cache.' |
|
|
echo 'creating runtime link editor directory cache.' |
|
|
if [ -d /usr/local/lib ]; then |
|
|
if [ -d /usr/local/lib ]; then |
|
|
shlib_dirs="$shlib_dirs /usr/local/lib" |
|
|
|
|
|
|
|
|
shlib_dirs="/usr/local/lib $shlib_dirs" |
|
|
fi |
|
|
fi |
|
|
if [ -d /usr/X11R6/lib ]; then |
|
|
if [ -d /usr/X11R6/lib ]; then |
|
|
shlib_dirs="$shlib_dirs /usr/X11R6/lib" |
|
|
|
|
|
|
|
|
shlib_dirs="/usr/X11R6/lib $shlib_dirs" |
|
|
fi |
|
|
fi |
|
|
ldconfig $shlib_dirs |
|
|
ldconfig $shlib_dirs |
|
|
fi |
|
|
fi |
|
|