mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Revert "Show nvme devices in SMART disk list. Fixes #9042"
This reverts commit bdb6021f79.
This commit is contained in:
parent
bdb6021f79
commit
dba7debb2e
@ -2602,7 +2602,7 @@ function get_smart_drive_list() {
|
||||
foreach ($disk_list as $id => $disk) {
|
||||
// We only want certain kinds of disks for S.M.A.R.T.
|
||||
// 1 is a match, 0 is no match, False is any problem processing the regex
|
||||
if (preg_match("/^(ad|da|ada|nvme).*[0-9]{1,2}$/", $disk) !== 1) {
|
||||
if (preg_match("/^(ad|da|ada).*[0-9]{1,2}$/", $disk) !== 1) {
|
||||
unset($disk_list[$id]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user