[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init script verbosity



[PICCA Frédéric-Emmanuel]
> I am using the /etc/init.d/skeleton (from unstable) file to write my
> package init scripts.
> but it seems that the lsb-base default behaviour is to have VERBOSE=no
> so there is no output.

I believe this is a good default for the boot, and less good for
package installations and when using init.d scripts on the command
line.  See <URL:http://bugs.debian.org/505468> for a report about
this.  Would be nice with feedback on the patch suggested there, as I
hope to have this implemented for Squeeze.

> so what must I do for my init scripts. VERBOSITY / no VERBOSITY ?

Use the VERBOSE to decide when to print informative messages, and
always report errors no matter the verbosity setting.

Happy hacking,
-- 
Petter Reinholdtsen


Reply to: