Browse Source

Since version 1.467 of /etc/rc, it was no longer possible to add

shlib_dirs using /etc/rc.conf.local.
Fix from Jan Johansson, thanks.
OK krw@, halex@
OPENBSD_5_9
rpe 8 years ago
parent
commit
c3b3b643ef
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.470 2015/11/27 03:53:28 deraadt Exp $
# $OpenBSD: rc,v 1.471 2015/12/02 20:39:57 rpe Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@ -442,7 +442,7 @@ fi
if [[ -x /sbin/ldconfig ]]; then
echo 'creating runtime link editor directory cache.'
[[ -d /usr/local/lib ]] && shlib_dirs="/usr/local/lib"
[[ -d /usr/local/lib ]] && shlib_dirs="/usr/local/lib $shlib_dirs"
[[ -d /usr/X11R6/lib ]] && shlib_dirs="/usr/X11R6/lib $shlib_dirs"
ldconfig $shlib_dirs
fi


Loading…
Cancel
Save