Several small tweaks and consistency updates to the pcp, pmie, and
pmproxy daemon start scripts:
remove unused initial base/link variables
clarify diagnostics which print out the script name (some places
print the symlink name, others the canonical basename) - this is
unchanged, we just use explicit variable instead of open-coding
this.
compare the name the script was invoked with (possibly a symlink
in the startup process) and the canonical name - use this to set
the default verbosity level, instead of always defaulting to on.
Aim is to make the bootup process less chatty, and more like all
other daemon startup scripts.
add -v option to pmie/pmproxy scripts, for consistency with the
pcp start script.
remove couple of comments that simply stated what the next line
of script was doing.
make pmie and pmproxy scripts use the same shutdown logic that
pmcd uses, in terms of chattiness (iow. we don't print "Waiting
for pmie processes" anymore if there were none to stop).
One thing not done - the pmproxy script was overlooked during the
recent changes to rc_pcp to speedup pmcd startup/shutdown (pmsleep,
et al)... similar changes should be made there se at some point -
we still have an unconditional "sleep 3" on shutdown for example.
Several small tweaks and consistency updates to the pcp, pmie, and
pmproxy daemon start scripts:
One thing not done - the pmproxy script was overlooked during the
recent changes to rc_pcp to speedup pmcd startup/shutdown (pmsleep,
et al)... similar changes should be made there se at some point -
we still have an unconditional "sleep 3" on shutdown for example.