check.d/{disks,ntp}: Only perform the checks if relevant programs exist.
authorMark Wooding <mwooding@ncipher.com>
Fri, 22 Jul 2011 18:39:14 +0000 (19:39 +0100)
committerMark Wooding <mwooding@ncipher.com>
Fri, 22 Jul 2011 18:41:36 +0000 (19:41 +0100)
commit042f27fe47aa2a67e7c99087d8600ce2450c0aa2
tree3bee15ca31bd65f2c6a8d830aba0eba7a625597b
parent92cde7de66a3dfe4ff45967f95bb240ab13c753c
check.d/{disks,ntp}: Only perform the checks if relevant programs exist.

If smartctl(8) isn't installed, then presumably we don't need to check
the status of disks; and if there's no ntpd(8) it's pointless checking
synchronization.
check.d/disks
check.d/ntp