%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/opnsense/service/templates/OPNsense/Macros/
Upload File :
Create Path :
Current File : //backups/router/usr/local/opnsense/service/templates/OPNsense/Macros/interface.macro

{#
  macro physical_interface, return physical interface by name (e.g. lan -> em0)
#}
{% macro physical_interface(name) -%}
{% if helpers.exists('interfaces.'+name+'.if')
%}{{
      helpers.getNodeByTag('interfaces.'+name+'.if')
}}{%
else %}{{name}}{%
endif
%}{%- endmacro %}

Zerion Mini Shell 1.0