Package pppconfig
Tags 332857 + patch
Thanks

Hi.

Back in October, you promised to include init.d dependency information
in your next upload. However, I can't see such information in the
package uploaded in December. Did you forget about it or did you have a
reason not to include it?
Attached is a patch which inserts LSB headers into the dns-clean script
(the init script in question).
As a side note: In theory, LSB says that "restart" should start a
service even if it isn't already running.  I'm however not sure if this
makes any sense for the given script.

Regards,
Sven
diff -ru pppconfig-2.3.12.orig/dns-clean pppconfig-2.3.12/dns-clean
--- pppconfig-2.3.12.orig/dns-clean     2004-05-07 05:12:59.000000000 +0200
+++ pppconfig-2.3.12/dns-clean  2006-07-13 17:12:11.401027922 +0200
@@ -10,6 +10,17 @@
 # It should be run before ppp is started.
 # It should never be run while ppp is up.
 
+### BEGIN INIT INFO
+# Provides:          dns-clean
+# Required-Start:    $local_fs
+# Required-Stop:     $local_fs
+# Default-Start:     S 1 2 3 4 5
+# Default-Stop:      0 6
+# Short-Decription: Cleans up any mess left by 0dns-up
+# Description: 0dns-up often leaves behind some cruft. This Script is meant
+#              to clean up any such mess.
+### END INIT INFO
+
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 
 test -f /usr/sbin/pppconfig || exit 0

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to