summaryrefslogtreecommitdiff
path: root/data/templates/ipoe-server/chap-secrets.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ipoe-server/chap-secrets.tmpl')
-rw-r--r--data/templates/ipoe-server/chap-secrets.tmpl18
1 files changed, 0 insertions, 18 deletions
diff --git a/data/templates/ipoe-server/chap-secrets.tmpl b/data/templates/ipoe-server/chap-secrets.tmpl
deleted file mode 100644
index 5e35d5775..000000000
--- a/data/templates/ipoe-server/chap-secrets.tmpl
+++ /dev/null
@@ -1,18 +0,0 @@
-# username server password acceptable local IP addresses shaper
-{% for aifc in auth['auth_if'] -%}
-{% for mac in auth['auth_if'][aifc] -%}
-{% if (auth['auth_if'][aifc][mac]['up']) and (auth['auth_if'][aifc][mac]['down']) -%}
-{% if auth['auth_if'][aifc][mac]['vlan'] -%}
-{{aifc}}.{{auth['auth_if'][aifc][mac]['vlan']}} * {{mac.lower()}} * {{auth['auth_if'][aifc][mac]['down']}}/{{auth['auth_if'][aifc][mac]['up']}}
-{% else -%}
-{{aifc}} * {{mac.lower()}} * {{auth['auth_if'][aifc][mac]['down']}}/{{auth['auth_if'][aifc][mac]['up']}}
-{% endif -%}
-{% else -%}
-{% if auth['auth_if'][aifc][mac]['vlan'] %}
-{{aifc}}.{{auth['auth_if'][aifc][mac]['vlan']}} * {{mac.lower()}} *
-{% else -%}
-{{aifc}} * {{mac.lower()}} *
-{% endif -%}
-{% endif -%}
-{% endfor -%}
-{% endfor -%}