Hi, Since I run 8.0 the rc.d scripts are less verbose. I have some problems with them, but the default output gives me no information anymore. In the 8.0-TODO wiki there is a mention about verbosity of the rc.d scripts at the bottom. Is there a way for me to increase the verbosity? Ronald.
Ronald Klop wrote:> Hi, > > Since I run 8.0 the rc.d scripts are less verbose. I have some problems > with them, but the default output gives me no information anymore. > > In the 8.0-TODO wiki there is a mention about verbosity of the rc.d > scripts at the bottom. Is there a way for me to increase the verbosity?You can use rc_debug or rc_info in your rc.conf rc_debug (bool) If set to ``YES'', enable output of debug messages from rc scripts. This variable can be helpful in diagnosing mistakes when editing or integrating new scripts. Beware that this produces copious output to the terminal and syslog(3). rc_info (bool) If set to ``NO'', disable informational messages from the rc scripts. Informational messages are displayed when a condition that is not serious enough to warrant a warning or an error occurs. Miroslav Lachman
On 2009-09-15 16:37, Ronald Klop wrote:> Since I run 8.0 the rc.d scripts are less verbose. I have some problems > with them, but the default output gives me no information anymore. > > In the 8.0-TODO wiki there is a mention about verbosity of the rc.d > scripts at the bottom. Is there a way for me to increase the verbosity?Nope, this was removed, apparently. A pity, since this was very useful information during boot time. However, setting rc_debug will give you enormous gobs of useless info (unless you're debugging rc scripts), and rc_info doesn't seem to add much anymore, if anything. To restore the old behaviour, apply the following patch (I have this in my local repository for ages now): Index: etc/rc.subr ==================================================================--- etc/rc.subr (revision 196888) +++ etc/rc.subr (working copy) @@ -680,7 +680,7 @@ run_rc_command() # setup the full command to run # - [ -z "${rc_quiet}" ] && echo "Starting ${name}." + echo "Starting ${name}." if [ -n "$_chroot" ]; then _doit="\ ${_nice:+nice -n $_nice }\