[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.

I know nothing about all this except that it would be nice to see the messages
when started interactively by the user with the invoke-rc.d command

> 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.

so I need to use VERBOSE=yes in my script to override the vars.sh
values.

See you

Frederic


Reply to: