diff options
author | jim-p <jimp@pfsense.org> | 2016-12-01 15:43:12 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-12-01 15:43:12 -0500 |
commit | 66e5d4f28e070e0280e5b2a97030c8d60d9ad664 (patch) | |
tree | 77b2a1d3db4f831450eb0de1549ab004ec4f1629 /src/usr | |
parent | cf15d4846da273480e4ed2d2440a393527e8331c (diff) | |
download | pfsense-66e5d4f28e070e0280e5b2a97030c8d60d9ad664.zip pfsense-66e5d4f28e070e0280e5b2a97030c8d60d9ad664.tar.gz |
Print a message about SMART not working on uFW/SG-1000 (smartmontools is not available there)
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/diag_smart.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php index 9858fd4..7b110e8 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -101,8 +101,8 @@ $tab_array[1] = array(gettext("Config"), ($action == 'config'), $_SERVER['PHP_SE display_top_tabs($tab_array); $specplatform = system_identify_specific_platform(); -if ($specplatform['name'] == "Hyper-V") { - echo gettext("S.M.A.R.T. is not supported in Hyper-V guests."); +if (($specplatform['name'] == "Hyper-V") || ($specplatform['name'] == "uFW")) { + echo sprintf(gettext("S.M.A.R.T. is not supported on this system (%s)."), $specplatform['descr']); include("foot.inc"); exit; } |