Commit 9a6738ab authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(captiveportal, new) add initial config template for cp scriptbase

(cherry picked from commit 1c178f36)
parent 0751225d
name: opnsense-captiveportal
version: 0.1
origin: opnsense/captiveportal
comment: captiveportal configuration
desc: configuration templates for captiveportal
maintainer: ad at opnsense.org
www: https://opnsense.org
prefix: /
#rc.conf.d:/etc/rc.conf.d/captiveportal
captiveportal.conf:/usr/local/etc/captiveportal.conf
{% if helpers.exists('OPNsense.captiveportal.zones.zone') %}
{% for cpZone in helpers.toList('OPNsense.captiveportal.zones.zone') %}
{% if cpZone.enabled|default('0') == '1' %}
[zone_{{cpZone.zoneid}}]
authservers={{ cpZone.authservers }}
idletimeout={{ cpZone.idletimeout }}
hardtimeout={{ cpZone.hardtimeout }}
{% endif %}
{% endfor %}
{% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment