mirror of
https://github.com/unraid/webgui.git
synced 2026-01-16 06:30:19 -06:00
spaces
This commit is contained in:
@@ -629,7 +629,7 @@ if (file_exists("/usr/local/sbin/unraid-api")) {
|
||||
// generate testparm.txt
|
||||
$testparm = run("testparm -s 2>/dev/null");
|
||||
if (!$all)
|
||||
$testparm = preg_replace("/(?<=\[.)(.*)(?=.\])|(?<=(write list = .)|(comment = .)|(valid users = .)|(path = \/mnt\/user\/)).*(?=.)/","...",$testparm);
|
||||
$testparm = preg_replace("/(?<=\[.)(.*)(?=.\])|(?<=(write list = .)|(comment = .)|(valid users = .)|(path = \/mnt\/user\/)).*(?=.)/","...",$testparm);
|
||||
file_put_contents("/$diag/system/testparm.txt",$testparm);
|
||||
|
||||
// BEGIN - third party plugins diagnostics
|
||||
|
||||
Reference in New Issue
Block a user