Since it's open source, you can just [look up the implementation](http://anonscm.debian.org/gitweb/?p=collab-maint/lsb.git;a=blob;f=init-functions;h=046dfb9b4416495bbfc75d90da70675922d8dff5;hb=HEAD#l287).