View | Details | Raw Unified | Return to bug 162383
Collapse All | Expand All

(-)b/sysutils/smartmontools/Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	smartmontools
8
PORTNAME=	smartmontools
9
PORTVERSION=	5.42
9
PORTVERSION=	5.42
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	sysutils
11
CATEGORIES=	sysutils
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
13
(-)b/sysutils/smartmontools/files/smart.in (-3 / +1 lines)
Lines 16-22 smartctl=%%PREFIX%%/sbin/smartctl Link Here
16
case "${daily_status_smart_devices}" in
16
case "${daily_status_smart_devices}" in
17
	# XXX AUTO mode selects only regular ad/da disks 
17
	# XXX AUTO mode selects only regular ad/da disks 
18
	[Aa][Uu][Tt][Oo])
18
	[Aa][Uu][Tt][Oo])
19
		daily_status_smart_devices=`sysctl -n kern.disks`
19
		daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]]cd[0-9]+//g')"
20
		;;
20
		;;
21
	*)	;;
21
	*)	;;
22
esac
22
esac
Lines 42-48 case "${daily_status_smart_enable}" in Link Here
42
			device="${device#/dev/}"
42
			device="${device#/dev/}"
43
			devflags=""
43
			devflags=""
44
			case ${device} in
44
			case ${device} in
45
			cd*) ;;
46
			tw[ae]*) devflags="-d3ware,${device##tw[ae][0-9]*,}"
45
			tw[ae]*) devflags="-d3ware,${device##tw[ae][0-9]*,}"
47
				device="/dev/${device%,[0-9]*}"
46
				device="/dev/${device%,[0-9]*}"
48
				;;
47
				;;
49
-

Return to bug 162383