This commit is contained in:
poslop
2025-12-22 14:49:04 -06:00
parent e604a7b903
commit 2ea833e194

View File

@@ -21,12 +21,15 @@ function main(): void {
$provision_dir = '/tftpboot';
$argv = $_SERVER['argv'] ?? [];
$do_notify = in_array('--notify', $argv, true);
$mac_list = ['482567bcdeff', '482567bcd8f0'];
$pbdb = pull_db();
$pbdb = trim_db($pbdb);
foreach ($mac_list as $mac) {
$ext_list = ['338', '334'];
$mac_db = pull_mac_db();
foreach ($ext_list as $ext) {
$mac = $mac_db[$ext];
$file = $provision_dir . '/' . $mac . '-features.cfg';
$xml = pull_xml_file($file);