Code

collectd.init.d: Improved handling of the DISABLE option.
authorSebastian Harl <sh@tokkee.org>
Sat, 29 Mar 2008 10:52:16 +0000 (11:52 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 29 Mar 2008 10:52:16 +0000 (11:52 +0100)
commit8d3df83d600b3adc0dd68e2a29907f1f84809f6d
treeb7ad3c8d3a50cc35fbc86583ae59bb8b560c89dd
parent78b5142025d7faaf1935bf1b4d55588ec6543518
collectd.init.d: Improved handling of the DISABLE option.

If the user wants to start collectd ("start" command line option), the
option is considered at the beginning of the script. This way we don't
print "Starting..." followed by "collectd has been disabled".

d_start() then checks the option again to correctly handle a restart.

This partly reverts commit 57daeeb0b8f6625978b9fabcc6283b0828ed9997.
debian/changelog
debian/collectd.init.d