summaryrefslogtreecommitdiffstats
path: root/inc/taskmanagercallback.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-16 18:12:17 +0200
committerSimon Rettberg2019-10-16 18:12:17 +0200
commit36e47dcdfb7d19d4c8982a77b4dd3b87d8c4ca31 (patch)
tree1326851106dd111dc1bcd32d0622dda094f1dcae /inc/taskmanagercallback.inc.php
parent[dozmod] Increase sat DB's launch counter on cache hit (diff)
downloadslx-admin-36e47dcdfb7d19d4c8982a77b4dd3b87d8c4ca31.tar.gz
slx-admin-36e47dcdfb7d19d4c8982a77b4dd3b87d8c4ca31.tar.xz
slx-admin-36e47dcdfb7d19d4c8982a77b4dd3b87d8c4ca31.zip
[serversetup-bwlp-ipxe/minilinux] Implement minilinux hook for ipxe
Diffstat (limited to 'inc/taskmanagercallback.inc.php')
-rw-r--r--inc/taskmanagercallback.inc.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/inc/taskmanagercallback.inc.php b/inc/taskmanagercallback.inc.php
index d1152bfd..0c4b116a 100644
--- a/inc/taskmanagercallback.inc.php
+++ b/inc/taskmanagercallback.inc.php
@@ -184,7 +184,7 @@ class TaskmanagerCallback
}
}
- public static function mlDownload($task, $args)
+ public static function mlGotList($task, $args)
{
$mod = Module::get('minilinux');
if ($mod === false)
@@ -193,6 +193,15 @@ class TaskmanagerCallback
MiniLinux::listDownloadCallback($task, $args);
}
+ public static function mlGotLinux($task, $args)
+ {
+ $mod = Module::get('minilinux');
+ if ($mod === false)
+ return;
+ $mod->activate(1, false);
+ MiniLinux::linuxDownloadCallback($task, $args);
+ }
+
public static function uploadimg($task)
{
//$string=var_export($task, true);