make it more clear on how to start cups.

prompted by and ok marco@
ok mbalmer@
This commit is contained in:
jasper 2007-09-19 20:58:07 +00:00
parent e7d6dc2a30
commit 4defa4f3b2
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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'.