[PATCH] start-stop-daemon and --verbose

Natanael Copa natanael.copa at gmail.com
Tue Aug 29 12:10:54 UTC 2006


Hi,

The --verbose|-v option in start-stop-daemon does absolutetly nothing in
the current implementation. You can see that by that there is no checks
agains (opt & SSD_OPTION_VERBOSE)

Since the FEATURE_START_STOP_DAEMON_FANCY adds the --verbose option, I
suggest this:

If FANCY is disabled be verbose unless --quiet is specified. This is how
it works now.

If FANCY is enabled be quiet unless --verbose is specified. This is the
opposite how it works today. 

A "correct" implementation with 3 states (quiet, default, verbose) would
require some more coding or redesign. I can do it if the proposed "fix"
is not good enough.

See attatched patch.

oh.. btw.. while I was there, I removed one uneccessary call to
do_procinit().

--
Natanael Copa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: start-stop-daemon-verbose.patch
Type: text/x-patch
Size: 997 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060829/1abfac75/attachment-0002.bin 


More information about the busybox mailing list