mirror of
https://github.com/unraid/webgui.git
synced 2026-02-18 06:58:47 -06:00
Check if rebuild is running.
This commit is contained in:
@@ -31,10 +31,12 @@ $arrModtoPlg = json_decode(file_get_contents("/tmp/modulestoplg.json") ,TRUE) ;
|
||||
|
||||
switch ($_POST['table']) {
|
||||
|
||||
case 't1create':
|
||||
case 't1create':
|
||||
if (is_file("/tmp/sysdrvbuild.running")) break ;
|
||||
touch("/tmp/sysdrvbuild.running") ;
|
||||
modtoplg() ;
|
||||
createlist() ;
|
||||
|
||||
unlink("/tmp/sysdrvbuild.running") ;
|
||||
break;
|
||||
|
||||
case 't1load':
|
||||
|
||||
Reference in New Issue
Block a user