Attached patch implements another check, adds a test and fixes a parsing bug.
commit 4a8636b069c74138872b90ad5253a954ad43bb91
Author: Raphael Geissert <atomo64@gmail.com>
Date: Sun Aug 30 20:53:52 2009 -0500
Fix a bug when parsing the default-{start,stop} fields of the LSB header
An empty string was being set as the content of a field whenever the
real content evaluated to false, which is incorrect when the content
is a 0 (because it evaluates to false).
commit 2a5caa983a180605c9121bd4942153916f06dd53
Author: Raphael Geissert <atomo64@gmail.com>
Date: Sun Aug 30 20:35:36 2009 -0500
Add a check for init scripts stopping at 0, 1, or 6 but not at all of them
commit 14ba8df1026ed9fbae1e722f000f48a6cf9cbc98
Author: Raphael Geissert <atomo64@gmail.com>
Date: Sun Aug 30 19:45:41 2009 -0500
Add a test for init.d-script-has-conflicting-start-stop
Note: this patch replaces the previous one.
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
Attachment:
lintian-init_checks.mbox
Description: application/mbox