app-admin/collectd: Fix oracle configuration check in init script _checkconfig.
authorAlexis Ballier <aballier@gentoo.org>
Mon, 4 Apr 2016 17:33:38 +0000 (19:33 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 4 Apr 2016 17:33:38 +0000 (19:33 +0200)
commit8da22949f86a3d3f06b71be7e21187b88fae769a
tree9d8653c92091b1791eccee12af9642431253367f
parent63a6f4f363dbf816f66bd3ddd7900befb6898731
app-admin/collectd: Fix oracle configuration check in init script _checkconfig.

Do not match if oracle plugin is not enabled, simplify a bit the expression and use wc -l instead of grep --count so that it works with busybox too.

Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
app-admin/collectd/files/collectd.initd-r1