This is the patch I used in my NMU.

diff -u genpower-1.0.5/debian/changelog genpower-1.0.5/debian/changelog
--- genpower-1.0.5/debian/changelog
+++ genpower-1.0.5/debian/changelog
@@ -1,3 +1,10 @@
+genpower (1.0.5-2.1) unstable; urgency=low
+
+  * Non-maintainer upload to solve release goal.
+  * Add LSB dependency header to init.d scripts (Closes: #466203).
+
+ -- Petter Reinholdtsen <[EMAIL PROTECTED]>  Sat, 29 Mar 2008 12:21:42 +0100
+
 genpower (1.0.5-2) unstable; urgency=low

   * Remove "upsstat" file on purge (closes: #330799)
only in patch2:
unchanged:
--- genpower-1.0.5.orig/debian/genpower.rc
+++ genpower-1.0.5/debian/genpower.rc
@@ -1,4 +1,11 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          genpower
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Default-Start:     1 2 3 4 5
+# Default-Stop:
+### END INIT INFO
 #
 # genpower     This script is used to start the UPS management daemon.  When
 #              called with "poweroff", this script will attempt to shutdown
only in patch2:
unchanged:
--- genpower-1.0.5.orig/debian/powerfail.rc
+++ genpower-1.0.5/debian/powerfail.rc
@@ -1,4 +1,11 @@
 #! /bin/sh
+### BEGIN INIT INFO
+# Provides:          powerfail
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Default-Start:     1 2 3 4 5
+# Default-Stop:
+### END INIT INFO
 #
 # powerfail      This script is run when the UPS tells the system that the
 #                power has gone.  Tell everybody and start the shutdown based



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to