mirror of
https://github.com/unraid/webgui.git
synced 2026-01-15 06:00:14 -06:00
VMs: automatically update virtio-win iso list
This commit is contained in:
@@ -456,7 +456,7 @@ case 'virtio-win-iso-download':
|
||||
//$strCleanPgrep = '-f "chmod.*chown.*rm.*'.$strMD5StatusFile.'"';
|
||||
$strAllCmd = "#!/bin/bash\n\n";
|
||||
$strAllCmd .= $strDownloadCmd.' >>'.escapeshellarg($strLogFile)." 2>$monitor && sleep 1 && ";
|
||||
$strAllCmd .= 'echo "'.$arrDownloadVirtIO['md5'].' '.$strTargetFile.'" >'.escapeshellarg($strMD5File).' && sleep 2 && ';
|
||||
$strAllCmd .= 'echo "'.$arrDownloadVirtIO['md5'].' '.$strTargetFile.'" >'.escapeshellarg($strMD5File).' && sleep 3 && ';
|
||||
$strAllCmd .= $strVerifyCmd.' >'.escapeshellarg($strMD5StatusFile).' 2>/dev/null && sleep 3 && ';
|
||||
$strAllCmd .= $strCleanCmd.' >>'.escapeshellarg($strLogFile).' 2>&1 && ';
|
||||
$strAllCmd .= 'rm -f '.escapeshellarg($strLogFile).' && ';
|
||||
|
||||
Reference in New Issue
Block a user