Unfuck ld.so.hints when run late in the boot process.

prodded by and ok espie@
This commit is contained in:
ajacoutot 2012-09-19 12:25:40 +00:00
parent 6468772301
commit 8e9a3970c6
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.29 2012/09/01 14:36:58 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.30 2012/09/19 12:25:40 ajacoutot Exp $
COMMENT= syslogd replacement
V = 3.1.4
DISTNAME = syslog-ng-$V
REVISION = 8
REVISION = 9
CATEGORIES = sysutils
MAINTAINER = Steven Mestdagh <steven@openbsd.org>

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: syslog_ng.rc,v 1.4 2012/06/08 21:06:46 steven Exp $
# $OpenBSD: syslog_ng.rc,v 1.5 2012/09/19 12:25:40 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/syslog-ng"
daemon_flags="-p /var/run/syslog.pid"
@ -12,7 +12,7 @@ pexp="${daemon}"
# needed in case syslog-ng(8) is started early in the boot sequence
# before rc(8) had a chance to run ldconfig
rc_pre() {
[ "${INRC}" ] && /sbin/ldconfig ${LOCALBASE}/lib || return 0
[ "${INRC}" ] && /sbin/ldconfig -m ${LOCALBASE}/lib || return 0
}
rc_cmd $1