[Pkg-sysvinit-devel] Bug#710519: /etc/init.d/skeleton: skeleton file uses internal API

Petter Reinholdtsen pere at hungry.com
Tue Feb 4 22:59:01 UTC 2014


[Laurent Bigonville]
> Lintian has just added a new "init.d-script-call-internal-API" check
> which is triggered when a file inside the "/lib/init/" directory is
> sourced.
>
> Removing the sourcing of "/lib/init/vars.sh" would also require to
> remove the check of the VERBOSE variable.

Who came up with the idea that /lib/init/vars.sh is an internal API?  It
is provided by initscripts for all init.d scripts to use.  I created it
to make it available for every script that wanted access to the
variables defined there.  The most used one is $VERBOSE.

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list