[Pkg-cups-devel] Bug#337640: cupsys: Please add LSB formatted dependency info in init.d script

Petter Reinholdtsen pere at hungry.com
Sun Nov 18 10:56:43 UTC 2007


severity 337640 normal
tags 337640 + patch
thanks

Here is a patch to document the dependencies.  I hope I got it right.

--- /etc/init.d/cupsys  2007-08-09 20:54:12.000000000 +0200
+++ /tmp/cupsys 2007-11-18 11:54:05.000000000 +0100
@@ -1,4 +1,15 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          cupsys
+# Required-Start:    $syslog
+# Required-Stop:     $syslog
+# Should-Start:      $network
+# Should-Stop:       $network
+# X-Start-Before:    samba
+# X-Stop-After:      samba
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO

 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/sbin/cupsd





More information about the Pkg-cups-devel mailing list