---
name: diskcheckd
version: 20110729
origin: sysutils/diskcheckd
comment: Daemon to check for disk read errors
arch: freebsd:10:x86:64
www: UNKNOWN
maintainer: perryh@pluto.rain.com
prefix: /usr/local
licenselogic: single
flatsize: 23481
desc: |
  diskcheckd is a daemon which runs in the background, reading entire disks
  to find any read errors on those disks.  The disks which should be
  scanned, and the rates at which they should be scanned, must be specified
  in the configuration file.
categories:
- sysutils
files:
  /usr/local/etc/diskcheckd.conf.sample: ae139a9dc758c50d674cee09cc28d5cd27a3c0630ad3331e48d882b777c817d9
  /usr/local/etc/rc.d/diskcheckd: f9364c69c1b2b1ae2a4514f9f58cc7c133ca14beb16480bdbb41f3a72380800a
  /usr/local/man/man5/diskcheckd.conf.5.gz: '-'
  /usr/local/man/man8/diskcheckd.8.gz: d01b6a1646507c860190fe46b51b027a42fcbf783cfde78b700efd4460122adf
  /usr/local/sbin/diskcheckd: ebdc275c7acb543ea8c65efcd9286a8a548d591fa016eb54e06cc293ebaacf7f
scripts:
  post-install: |
    if [ ! -f /usr/local/etc/diskcheckd.conf ]; then cp /usr/local/etc/diskcheckd.conf.sample /usr/local/etc/diskcheckd.conf; fi
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/diskcheckd.conf.sample /usr/local/etc/diskcheckd.conf; then rm -f /usr/local/etc/diskcheckd.conf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
