summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-07-27 13:47:16 -0400
committerjim-p <jimp@pfsense.org>2013-07-27 13:49:17 -0400
commit455bc0b16dfec371e2f1ecc1d3786b120c28b6c1 (patch)
treeca8f60f39f2de388ed38ec4c5a049e615e99195b
parent7c0e81ac46c2f33586a8b491a1792bb9bbf02c2e (diff)
downloadpfsense-455bc0b16dfec371e2f1ecc1d3786b120c28b6c1.zip
pfsense-455bc0b16dfec371e2f1ecc1d3786b120c28b6c1.tar.gz
Also catch adaX Fixes #3112
-rw-r--r--usr/local/www/diag_smart.php2
1 files changed, 1 insertions, 1 deletions
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);
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
OpenPOWER on IntegriCloud