Fix bulk device imports with TFTP path enabled
If you bulk imported devices and had the TFTP path set the configuration files would not be written out to the TFTP path.
This commit is contained in:
parent
c35143a935
commit
2d175db556
|
|
@ -357,6 +357,12 @@
|
|||
$database->save($array);
|
||||
//$message = $database->message;
|
||||
}
|
||||
|
||||
if (strlen($_SESSION['provision']['path']['text']) > 0) {
|
||||
$prov = new provision;
|
||||
$prov->domain_uuid = $domain_uuid;
|
||||
$response = $prov->write();
|
||||
}
|
||||
|
||||
//send the redirect header
|
||||
header("Location: devices.php");
|
||||
|
|
|
|||
Loading…
Reference in New Issue