diff --git a/print/cups/Makefile b/print/cups/Makefile index 563b74001df..f0de5a108c0 100644 --- a/print/cups/Makefile +++ b/print/cups/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.27 2007/09/09 14:53:05 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.28 2007/09/19 20:58:07 jasper Exp $ COMMENT= Common Unix Printing System VERSION= 1.2.7 DISTNAME= cups-${VERSION}-source -PKGNAME= ${DISTNAME:S/-source//}p5 +PKGNAME= ${DISTNAME:S/-source//}p6 CATEGORIES= print sysutils SHARED_LIBS= cups 3.0 \ cupsimage 2.3 diff --git a/print/cups/pkg/MESSAGE b/print/cups/pkg/MESSAGE index 38ba1c0d9e6..1388f263c47 100644 --- a/print/cups/pkg/MESSAGE +++ b/print/cups/pkg/MESSAGE @@ -1,6 +1,15 @@ To enable CUPS, execute '${PREFIX}/sbin/cups-enable' as root. To disable CUPS, execute '${PREFIX}/sbin/cups-disable' as root. -Starting cupsd will overwrite /etc/printcap. A backup copy of this file +To start cups at boot time, add the following to +${SYSCONFDIR}/rc.local: + +if [ -x ${PREFIX}/sbin/cupsd ]; then + echo -n ' cupsd'; ${PREFIX}/sbin/cupsd +fi + + + +Starting cupsd will overwrite /etc/printcap. A backup copy of this file is saved as /etc/printcap.pre-cups by '${PREFIX}/sbin/cups-enable' and will be restored when you run '${PREFIX}/sbin/cups-disable'.