---
name: diskcheckd
version: 20110729
origin: sysutils/diskcheckd
comment: Daemon to check for disk read errors
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: perryh@pluto.rain.com
prefix: /usr/local
licenselogic: single
flatsize: 22040
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: 5b4c25fff876921eb914369e0bf5eb1e07a6f78d5b8744de66bed0c45fd6f316
  /usr/local/etc/rc.d/diskcheckd: 84b246b4e3674d920186408aaf8abacdd3dc4ae57b46de242599245278482610
  /usr/local/man/man5/diskcheckd.conf.5.gz: '-'
  /usr/local/man/man8/diskcheckd.8.gz: fa0554c4278a0f2e7f61875bc5ce64467d2be5ae071e486fd34a7729b4fb747c
  /usr/local/sbin/diskcheckd: b6069fe830e6dc66ed3b153f7047ddfd2da46aefafc239ea8573e4b9e712b136
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
