[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#427036: hplip: Please add LSB formatted dependency info in init.d script



Here is a complete patch for the init.d script.  I dropped the
redundant $local_fs, as it is also a dependency for $remote_fs.

--- /etc/init.d/hplip.orig   2007-10-23 14:08:42.000000000 +0000
+++ /etc/init.d/hplip  2007-11-18 09:21:20.000000000 +0000
@@ -1,4 +1,13 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          hplip
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Should-Start:      $network
+# Should-Stop:       $network
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+### END INIT INFO
 # hplip        initscript for the HP Linux Printing and Imaging System
 # Copyright (c) 2004-2006 by Henrique de Moraes Holschuh <hmh@debian.org>
 # Distributed under the GPLv2 or newer





Reply to: