cope with pexp tightening in rc.subr r1.99, reported by sebastia@

This commit is contained in:
sthen 2015-09-21 14:10:21 +00:00
parent a09fff8c11
commit 6d87b84c90
2 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.218 2015/06/08 08:44:52 sthen Exp $
# $OpenBSD: Makefile,v 1.219 2015/09/21 14:10:21 sthen Exp $
SHARED_ONLY= Yes
COMMENT-main= open source multi-protocol PBX and telephony toolkit
VER= 11.18.0
REVISION-main= 0
PORTROACH= limitw:0,odd
DISTNAME= asterisk-${VER:S/beta/-beta/:S/rc/-rc/}
PKGNAME-main= asterisk-${VER}

View File

@ -1,11 +1,13 @@
#!/bin/sh
#
# $OpenBSD: asterisk.rc,v 1.3 2011/03/20 15:37:06 ajacoutot Exp $
# $OpenBSD: asterisk.rc,v 1.4 2015/09/21 14:10:21 sthen Exp $
daemon="${TRUEPREFIX}/sbin/asterisk"
. /etc/rc.d/rc.subr
pexp="${daemon}.*"
rc_start() {
${rcexec} "${TRUEPREFIX}/sbin/safe_asterisk"
}