forked from Lainports/opnsense-ports
sysutils/smartmontools: sync with upstream
Taken from: HardenedBSD
This commit is contained in:
parent
f6e51b931c
commit
2e5739b454
2 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= smartmontools
|
||||
PORTVERSION= 7.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
|
|||
|
|
@ -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|ar)[0-9]+//g; s/nvd/nvme/g')"
|
||||
daily_status_smart_devices="$(sysctl -n kern.disks | sed -E 's/[[:<:]](cd|ar|vtbd)[0-9]+//g; s/nvd/nvme/g')"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue