cupsd rewrites its arguments, so add a pexp to the rc script.

This commit is contained in:
ajacoutot 2011-04-06 16:50:26 +00:00
parent 4b75dcc2bd
commit 71747ea048
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.99 2011/03/24 15:17:28 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.100 2011/04/06 16:50:26 ajacoutot Exp $
COMMENT= Common Unix Printing System
@ -6,7 +6,7 @@ VERSION= 1.4.6
DISTNAME= cups-${VERSION}-source
PKGNAME= cups-${VERSION}
REVISION= 4
REVISION= 5
# Allow both ulpt(4) and libusb based backends to work together.
# See http://www.cups.org/str.php?L3357

View File

@ -1,11 +1,13 @@
#!/bin/sh
#
# $OpenBSD: cupsd.rc,v 1.8 2011/03/24 15:17:28 ajacoutot Exp $
# $OpenBSD: cupsd.rc,v 1.9 2011/04/06 16:50:26 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/cupsd"
. /etc/rc.d/rc.subr
pexp="${daemon}"
_lpfiles="/usr/bin/lpq /usr/bin/lpr /usr/bin/lprm /usr/sbin/lpc \
/usr/sbin/lpd /usr/share/man/cat1/lpq.0 /usr/share/man/cat1/lpr.0 \
/usr/share/man/cat1/lprm.0 /usr/share/man/cat8/lpc.0 \