rc_ overrides are put after sourcing /etc/rc.d/rc.subr.

ok sthen@ (maintainer)
This commit is contained in:
ajacoutot 2016-06-28 17:03:27 +00:00
parent 3decd5fa22
commit cef41bd272
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.27 2016/06/28 15:50:27 sthen Exp $
# $OpenBSD: Makefile,v 1.28 2016/06/28 17:03:27 ajacoutot Exp $
COMMENT= LLDP (802.1ab)/CDP/EDP/SONMP/FDP daemon and SNMP subagent
DISTNAME= lldpd-0.9.4
REVISION= 0
REVISION= 1
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
LLDP-MIB-200505060000Z.txt:0
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}

View File

@ -1,13 +1,13 @@
#!/bin/sh
#
# $OpenBSD: lldpd.rc,v 1.3 2016/06/28 15:50:27 sthen Exp $
# $OpenBSD: lldpd.rc,v 1.4 2016/06/28 17:03:27 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/lldpd"
rc_reload=NO
. /etc/rc.d/rc.subr
pexp="lldpd: monitor."
rc_reload=NO
rc_pre() {
install -d -o _lldpd /var/run/lldpd