SoC boot project script to check LSB compliance

Carlos Villegas Carlos.Villegas at nuim.ie
Wed Jun 28 10:53:11 UTC 2006


Based on a script by Petter Reinholdtsen to check the correct init 
script order, I've made a script to check for LSB compliance.

It is available on the project webpage:
http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/resources.html

The script checks for the existance of each of the LSB headers and 
considers 4 main output cases:
+ No LSB headers (when the START INIT INFO header is not found)
+ Basic LSB compliance (when Should-Start, Should-Stop and the 
Description have no arguments.
+ Full LSB compliance (when all headers have arguments)
+ Partial compliance (in the other cases).
Besides, it sends to to STDERR comments on missing headers or missing 
arguments in them.

For the moment the script doesn't check if the arguments given are 
valid, nor if valid runlevels are used in the Defalut-Start/Stop 
headers. Probably not such detailed checking is required?

Any comments would be greatly appreciated.

cheers

Carlos
-- 

Carlos Villegas
----------------------------------------
Hamilton Institute
NUIM, Maynooth, Co. Kildare
Ireland
Tel: +353 1 708 6458
Fax: +353 1 708 6269
www.hamilton.ie/carlos




More information about the initscripts-ng-devel mailing list