cups/cups.init

123 lines
2.4 KiB
Plaintext
Raw Normal View History

auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
#!/bin/sh
#
# "$Id: cups.sh,v 1.10 2000/03/30 05:19:16 mike Exp $"
#
# Startup/shutdown script for the Common UNIX Printing System (CUPS).
#
# Linux chkconfig stuff:
#
# chkconfig: 2345 25 10
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
# description: Startup/shutdown script for the Common UNIX \
# Printing System (CUPS).
#
# Copyright 1997-2000 by Easy Software Products, all rights reserved.
#
# These coded instructions, statements, and computer programs are the
# property of Easy Software Products and are protected by Federal
# copyright law. Distribution and use rights are outlined in the file
# "LICENSE.txt" which should have been included with this file. If this
# file is missing or damaged please contact Easy Software Products
# at:
#
# Attn: CUPS Licensing Information
# Easy Software Products
# 44141 Airport View Drive, Suite 204
# Hollywood, Maryland 20636-3111 USA
#
# Voice: (301) 373-9603
# EMail: cups-info@cups.org
# WWW: http://www.cups.org
#
# heavily edited so that it's more like other scripts in init.d on Red Hat
# Linux
#
### BEGIN INIT INFO
# Provides: cups
# Required-Start: $syslog $local_fs
# Required-Stop: $syslog $local_fs
# Should-Start: portreserve
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: The CUPS scheduler
# Description: The CUPS scheduler
### END INIT INFO
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
# Source function library.
. /etc/init.d/functions
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
DAEMON=cupsd
prog=cups
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
start () {
echo -n $"Starting $prog: "
2008-07-01 10:49:59 +00:00
# tell portreserve to release the port
[ -x /sbin/portrelease ] && /sbin/portrelease cups &>/dev/null || :
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
# start daemon
daemon $DAEMON
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/cups
return 0
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
}
stop () {
# stop daemon
echo -n $"Stopping $prog: "
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
killproc $DAEMON
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/cups
return 0
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
}
restart() {
stop
start
}
case $1 in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
condrestart|try-restart)
[ -f /var/lock/subsys/cups ] && restart || :
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
;;
reload)
echo -n $"Reloading $prog: "
killproc $DAEMON -HUP
RETVAL=$?
echo
;;
force-reload)
echo -n $"Reloading $prog: "
if ! killproc $DAEMON -HUP; then
restart
fi
echo
;;
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
status)
status $DAEMON
RETVAL=$?
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
;;
restartlog)
stop
cat /dev/null >/var/log/cups/error_log
start
;;
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
*)
echo $"Usage: $prog {start|stop|restart|condrestart|reload|status}"
exit 3
auto-import changelog data from cups-1.1.14-14.src.rpm Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14 - Fix dangling symlink created by samba-clients trigger Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13 - Add desktop file and icon for CUPS configuration Wed Apr 03 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12 - Support SMB printing (#62407) - Add HTML redirections to doc files to work around users mistaking /usr/share/doc/cups-1.1.14 for the web frontend (#62405) Tue Apr 02 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11 - fix subsys in initscript (#59206) - don't strip binaries Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10 - Make initscript use killproc instead of killall Fri Mar 08 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9 - use alternatives --initscript support Mon Mar 04 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8 - use the right path for the lpc man page, duh Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7 - lpc man page is alternative too - run ldconfig in -libs %post/%postun, not main - remove alternatives in %preun Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6 - don't source /etc/sysconfig/network in cups.init, we don't use any values from it Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4 - Fix bugs #60220 and #60352 Thu Feb 21 2002 Tim Powers <timp@redhat.com> - rebuild against correct version of openssl (0.9.6b) Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2 - Add all man pages to alternatives (#59943) - Update to real 1.1.14 Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1 - Update to almost-1.1.14 Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5 - Move cups-config to cups-devel subpackage - Make alternatives usage a %define to simplify builds for earlier releases - Explicitly provide things we're supplying through alternatives to shut up kdeutils dependencies Tue Feb 05 2002 Tim Powers <timp@redhat.com> - shut the alternatives stuff up for good Fri Feb 01 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3 - Fix alternatives stuff - Don't display error messages in %post Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2 - alternatives stuff Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1 - 1.1.13 - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018) - Rename init scripts so we can safely "killall cupsd" from there Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1 - Initial (conflicting, since alternatives isn't there yet) packaging for Red Hat Linux Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.12 Mon Nov 05 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3 - Compress PPD files - Fix build with gcc 3.1 - Fix init script Tue Sep 04 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2 - Fix URL - Generate printcap - s/Copyright/License/g Tue Sep 04 2001 Than Ngo <than@redhat.com> 1.1.10-1 - update to 1.1.10-1 for ExtraBinge 7.2 Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com> - update to 1.1.8 - changed cupsd.conf to generate /etc/printcap Tue May 15 2001 Than Ngo <than@redhat.com> - update to 1.1.7, bugfixes Thu Dec 14 2000 Than Ngo <than@redhat.com> - fixed package dependency with lpr and LPRng Wed Oct 25 2000 Than Ngo <than@redhat.com> - remove man/cat Tue Oct 24 2000 Than Ngo <than@redhat.com> - don't start cupsd service in level 0, fixed Thu Oct 19 2000 Than Ngo <than@redhat.com> - update to 1.1.4 - fix CUPS_DOCROOT (Bug #18717) Fri Aug 11 2000 Than Ngo <than@redhat.de> - update to 1.1.2 (Bugfix release) Fri Aug 04 2000 Than Ngo <than@redhat.de> - fix, cupsd read config file under /etc/cups (Bug #15432) - add missing cups filters Wed Aug 02 2000 Tim Powers <timp@redhat.com> - rebuilt against libpng-1.0.8 Tue Aug 01 2000 Than Ngo <than@redhat.de> - fix permission, add missing ldconfig in %post and %postun (Bug #14963) Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> - 1.1.1 (this has some major bugfixes) - Fix a typo in initscript (it's $?, not ?$) - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!) - Create the spool dir Fri Jul 28 2000 Than Ngo <than@redhat.de> - fix unclean code for building against gcc-2.96 - add missing restart function in startup script Fri Jul 28 2000 Tim Powers <timp@redhat.com> - fixed initscript so that conrestart doesn't return 1 if the test fails Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Wed Jul 19 2000 Than Ngo <than@redhat.de> - using service to fire them up - fix Prereq section Mon Jul 17 2000 Tim Powers <timp@redhat.com> - added defattr to the devel package Sun Jul 16 2000 Than Ngo <than@redhat.de> - add cups config files Sat Jul 15 2000 Than Ngo <than@redhat.de> - update to 1.1 release - move back to /etc/rc.d/init.d - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d - split cups Wed Jul 12 2000 Than Ngo <than@redhat.de> - rebuilt Thu Jul 06 2000 Tim Powers <timp@redhat.com> - fixed broken PreReq to now require /etc/init.d Tue Jun 27 2000 Tim Powers <timp@redhat.com> - PreReq initscripts >= 5.20 Mon Jun 26 2000 Tim Powers <timp@redhat.com> - started changelog - fixed init.d script location - changed script in init.d quite a bit and made more like the rest of our startup scripts
2004-09-09 04:00:00 +00:00
esac
exit $RETVAL