summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_smart.php
diff options
context:
space:
mode:
authorDaniel Becker <razzfazz@gmail.com>2013-07-30 09:22:08 -0700
committerDaniel Becker <razzfazz@gmail.com>2013-07-30 09:22:08 -0700
commit9ca01b5f54f3607faf6d96523d6c4c106f813b01 (patch)
tree1c06db37e71b9d1cdd0cace8d50dc3e579f3a085 /usr/local/www/diag_smart.php
parent8bfc329f05db4a1163b528cf3c45033ecfcaaec2 (diff)
downloadpfsense-9ca01b5f54f3607faf6d96523d6c4c106f813b01.zip
pfsense-9ca01b5f54f3607faf6d96523d6c4c106f813b01.tar.gz
tighten overly broad regexes for SMART monitoring
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 3d982df..d7e8072 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]a*[0-9]\{1,2\}$'", $devs);
+ exec("ls /dev | grep '^\(ad\|da\|ada\)[0-9]\{1,2\}$'", $devs);
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
OpenPOWER on IntegriCloud