From ccf479876283082b39ac9a37c1c6308f4857a6f0 Mon Sep 17 00:00:00 2001 From: jim-p Date: Sat, 27 Jul 2013 13:47:16 -0400 Subject: Also catch adaX Fixes #3112 --- usr/local/www/diag_smart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/diag_smart.php b/usr/local/www/diag_smart.php index 5864253..3d982df 100644 --- a/usr/local/www/diag_smart.php +++ b/usr/local/www/diag_smart.php @@ -277,7 +277,7 @@ switch($action) { default: { // Get all AD* and DA* (IDE and SCSI) devices currently installed and stores them in the $devs array - exec("ls /dev | grep '^[ad][da][0-9]\{1,2\}$'", $devs); + exec("ls /dev | grep '^[ad][da]a*[0-9]\{1,2\}$'", $devs); ?> -- cgit v1.1