Update provision.php add address.xml
This commit is contained in:
parent
7d90568f05
commit
fe750a092d
|
|
@ -1194,7 +1194,10 @@
|
|||
if (file_exists($template_dir."/".$device_template ."/{\$address}")) {
|
||||
$file = "{\$address}";
|
||||
}
|
||||
if (file_exists($template_dir."/".$device_template ."/{\$mac}")) {
|
||||
elseif (file_exists($template_dir."/".$device_template ."/{\$address}.xml")) {
|
||||
$file = "{\$address}.xml";
|
||||
}
|
||||
elseif (file_exists($template_dir."/".$device_template ."/{\$mac}")) {
|
||||
$file = "{\$mac}";
|
||||
}
|
||||
elseif (file_exists($template_dir."/".$device_template ."/{\$mac}.xml")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue