aboutsummaryrefslogtreecommitdiff
path: root/sysutils/smartmontools
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2011-07-04 09:09:39 +0000
committerRomain Tartière <romain@FreeBSD.org>2011-07-04 09:09:39 +0000
commit7c0d8674a8edb541e4bcab50c1e6d63d160378d8 (patch)
tree138cb00f34e6b09f38c9f8b3ee280d122501f058 /sysutils/smartmontools
parentb87e9489563fab0cde9aa2d823cc5a723e9a1e44 (diff)
downloadports-7c0d8674a8edb541e4bcab50c1e6d63d160378d8.tar.gz
ports-7c0d8674a8edb541e4bcab50c1e6d63d160378d8.zip
Notes
Diffstat (limited to 'sysutils/smartmontools')
-rw-r--r--sysutils/smartmontools/Makefile1
-rw-r--r--sysutils/smartmontools/files/smart.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index c0bec1e450a8..867058c6f709 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= smartmontools
PORTVERSION= 5.41
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
diff --git a/sysutils/smartmontools/files/smart.in b/sysutils/smartmontools/files/smart.in
index 005eeff00579..0e5b76cf9f89 100644
--- a/sysutils/smartmontools/files/smart.in
+++ b/sysutils/smartmontools/files/smart.in
@@ -63,6 +63,8 @@ case "${daily_status_smart_enable}" in
status=$?
if [ ${status} -eq 0 ]; then
echo "OK"
+ elif [ ${status} -eq 32 ]; then
+ echo "OK (but has failed in the past)"
elif [ $((status & 3)) -ne 0 ]; then
rc=2
${trim_junk} "${tmpfile}"