Index: xc/programs/Xserver/Xprint/etc/init.d/xprint =================================================================== RCS file: /cvs/xprint/xprint/src/xprint_main/xc/programs/Xserver/Xprint/etc/init.d/xprint,v retrieving revision 1.49 diff -u -2 -0 -r1.49 xprint --- a/xc/programs/Xserver/Xprint/etc/init.d/xprint 26 May 2004 01:17:05 -0000 1.49 +++ b/xc/programs/Xserver/Xprint/etc/init.d/xprint 26 May 2004 08:07:00 -0000 @@ -1,48 +1,47 @@ #!/bin/sh # -# Copyright (c) 2002-2004 by Roland Mainz -# All rights reserved. -# -#ident "@(#)xprint 0.5 2003/02/14 gisburn" +# Copyright 2002-2004 by Roland Mainz . All rights reserved. # +# This script manages the Xprint server side + +# Basic support for IRIX-style "chkconfig" +# chkconfig: 2345 61 61 +# description: Startup/shutdown script for Xprint server(s) + # Basic support for the Linux Standard Base Specification 1.0.0 # (Note: The Should-Start/Stop lines are there so that this works in the # future, when the LSB adopts these. The X-UnitedLinux lines are there # so that it works right now.) ### BEGIN INIT INFO # Provides: xprint # Required-Start: $local_fs $remote_fs $syslog $network # Required-Stop: $local_fs $remote_fs $syslog # Should-Start: cups lpd xfs # Should-Stop: cups lpd xfs # X-UnitedLinux-Should-Start: cups lpd xfs # X-UnitedLinux-Should-Stop: cups lpd xfs # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Startup/shutdown script for Xprint server(s) ### END INIT INFO -# -# Basic support for IRIX-style "chkconfig" -# chkconfig: 2345 61 61 -# description: Startup/shutdown script for Xprint server(s) -# + ############################################################################ # # This script has three main tasks: # 1. Start Xprint servers ("Xprt") at boot time. # 2. Shutdown Xprint servers when the machine is being shut down. # 3. Query the list of available printers. # # Additional tasks are: # 4. Restart ('restart'|'force-reload') and conditional restart # ('condrestart'/'try-restart') for Linux support # 5. Wrapping of application call with setting XPSERVERLIST ('wrapper') # # Usage: # - Start Xprint server(s) manually: # % /etc/init.d/xprint start # # - Stop Xprint server(s) manually: # % /etc/init.d/xprint stop # # - Populate $XPSERVERLIST env var (for example as part of a global