summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_smart.php
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:48:57 -0400
commitccf479876283082b39ac9a37c1c6308f4857a6f0 (patch)
treeb352eaf21de4199a87377d145ed1660ab1bbc78b /usr/local/www/diag_smart.php
parent23c185bbf4f8e9f480d80699c084d36933ff5060 (diff)
downloadpfsense-ccf479876283082b39ac9a37c1c6308f4857a6f0.zip
pfsense-ccf479876283082b39ac9a37c1c6308f4857a6f0.tar.gz
Also catch adaX Fixes #3112
Diffstat (limited to 'usr/local/www/diag_smart.php')
-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