Fix lineup of copyright lines
and module names and other bits of formatting and typos in headercomment sections.
Welcome 2015
Change copyright statement to reflect reality
Use a better method of finding disks for SMART.Old code was inaccurate and also listed entries that were symlinks to other disks
Escape parameters passed to shell_exec()
Tidy up "diag_smart.php" XHTML
Add PHP "closehead" variableAdd CDATA sections and TYPE to STYLE tagAdd SUMMARY to TABLESUpdate HTML Boolean operatorsTidy up OPTION tags
Fix some wrong escapeshellarg() calls
Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir
tighten overly broad regexes for SMART monitoring
Also catch adaX Fixes #3112
Fix page name. Fixes #2813
Validate passed parameters to smart commands, and the target device. Also escape when used in shell commands even after validation.Discovered-By: Bernhard Thaler
Self-test should be hypenated, and the T should be lower case.
Use a better regex here, sometimes ad devices can be numbered >=10.
Fix XSS issues
Fix a duplicate line forgotten on a merge
Merge remote branch 'mainline/master'
Conflicts: usr/local/www/diag_smart.php usr/local/www/firewall_rules_edit.php usr/local/www/interfaces.php usr/local/www/load_balancer_pool_edit.php usr/local/www/pkg_mgr_settings.php
Fix text
Implement geettext() on diag_smart.php
Add Diagnostics > SMART Status for ATA HDDs. (Some functionality disabled, still needs hooked into notifications, and service code for smartd)