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

$ret = IPxe::importLegacyMenu(false);
if ($ret !== false) {
	$num = IPxe::importSubnetPxeMenus('/srv/openslx/tftp/pxelinux.cfg');
	if ($num > 0) {
		EventLog::info('Imported old PXELinux menu, with ' . $num . ' additional IP-range based menus.');
	} else {
		EventLog::info('Imported old PXELinux menu.');
	}
}