diff options
author | Daniel Becker <razzfazz@gmail.com> | 2013-07-30 09:22:08 -0700 |
---|---|---|
committer | Daniel Becker <razzfazz@gmail.com> | 2013-07-30 09:22:08 -0700 |
commit | 9ca01b5f54f3607faf6d96523d6c4c106f813b01 (patch) | |
tree | 1c06db37e71b9d1cdd0cace8d50dc3e579f3a085 /usr/local/www/diag_smart.php | |
parent | 8bfc329f05db4a1163b528cf3c45033ecfcaaec2 (diff) | |
download | pfsense-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.php | 2 |
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> |