summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-pxelinux/hooks/ipxe-update.inc.php
blob: baa7a1bf8c8b5936736aca97616903fa8e2d160b (plain) (blame)
1
2
3
4
5
6
7
8
9
<?php

$data = Property::getBootMenu();
$data['ipaddress'] = Property::getServerIp();
$task = Taskmanager::submit('CompileIPxeLegacy', $data);
if (!isset($task['id']))
	return false;
Property::set('ipxe-task-id', $task['id'], 15);
return $task['id'];