aboutsummaryrefslogtreecommitdiff
path: root/sysutils/smartmontools
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-02-04 13:22:00 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-02-04 13:22:00 +0000
commitd213ce11a675550794bef0c153cc67971f9e2e22 (patch)
tree59ee5248a7ab9ed32e96dadb9f4ae618c548c48b /sysutils/smartmontools
parentfe3aaa23c79cafd6d090d8f62cf8e7cec5c42a5e (diff)
downloadports-d213ce11a675550794bef0c153cc67971f9e2e22.tar.gz
ports-d213ce11a675550794bef0c153cc67971f9e2e22.zip
Notes
Diffstat (limited to 'sysutils/smartmontools')
-rw-r--r--sysutils/smartmontools/Makefile1
-rw-r--r--sysutils/smartmontools/files/smart.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index bd46727f79db..1470e09fd21a 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= smartmontools
PORTVERSION= 5.39
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF
diff --git a/sysutils/smartmontools/files/smart.in b/sysutils/smartmontools/files/smart.in
index d4ba696d5212..e63b094be5f7 100644
--- a/sysutils/smartmontools/files/smart.in
+++ b/sysutils/smartmontools/files/smart.in
@@ -41,7 +41,7 @@ case "${daily_status_smart_enable}" in
echo
echo "Checking health of ${device}:"
echo
- ${smartctl} ${daily_status_smartctl_flags} ${device} > "${tmpfile}"
+ ${smartctl} ${daily_status_smartctl_flags} /dev/${device} > "${tmpfile}"
status=$?
if [ $((status & 3)) -ne 0 ]; then
rc=2