mirror of
https://github.com/unraid/webgui.git
synced 2026-04-28 22:09:24 -05:00
Use -x (extended all) option for generation of SMART reports
This commit is contained in:
@@ -150,7 +150,7 @@ case "identify":
|
||||
}
|
||||
break;
|
||||
case "save":
|
||||
exec("smartctl -a $type ".escapeshellarg("/dev/$port")." >".escapeshellarg("$docroot/{$_POST['file']}"));
|
||||
exec("smartctl -x $type ".escapeshellarg("/dev/$port")." >".escapeshellarg("$docroot/{$_POST['file']}"));
|
||||
break;
|
||||
case "delete":
|
||||
if (strpos(realpath("/var/tmp/{$_POST['file']}"), "/var/tmp/") === 0) {
|
||||
|
||||
Reference in New Issue
Block a user