diff options
author | Juergen Lock <nox@FreeBSD.org> | 2012-10-11 19:55:47 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2012-10-11 19:55:47 +0000 |
commit | b639546b3c0f0d30c42bd6448d5ca722df92764d (patch) | |
tree | b6b947206685ae6b49a41fe9781b89c84e22cb47 /sysutils/smartmontools | |
parent | bd48157e1aa3e4c7f7e11acaabf5821fdfce7f76 (diff) | |
download | ports-b639546b3c0f0d30c42bd6448d5ca722df92764d.tar.gz ports-b639546b3c0f0d30c42bd6448d5ca722df92764d.zip |
- Fix AUTO in daily_status_smart_devices parameter (skip arX devices).
- Bump PORTREVISION.
PR: ports/172480
Submitted by: Leonid Nevecherya <nlv@imbera.ru>
Approved by: samm@os2.kiev.ua (maintainer)
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=305739
Diffstat (limited to 'sysutils/smartmontools')
-rw-r--r-- | sysutils/smartmontools/Makefile | 1 | ||||
-rw-r--r-- | sysutils/smartmontools/files/smart.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile index fdb23f756d8d..57dd622c1d12 100644 --- a/sysutils/smartmontools/Makefile +++ b/sysutils/smartmontools/Makefile @@ -7,6 +7,7 @@ PORTNAME= smartmontools PORTVERSION= 5.43 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF diff --git a/sysutils/smartmontools/files/smart.in b/sysutils/smartmontools/files/smart.in index 0fcf76a5ebaa..983b64a0b4e2 100644 --- a/sysutils/smartmontools/files/smart.in +++ b/sysutils/smartmontools/files/smart.in @@ -16,7 +16,7 @@ smartctl=%%PREFIX%%/sbin/smartctl case "${daily_status_smart_devices}" in # XXX AUTO mode selects only regular ad/da disks [Aa][Uu][Tt][Oo]) - daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]]cd[0-9]+//g')" + daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar)[0-9]+//g')" ;; *) ;; esac |