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 a7d899354..000000000
--- a/data/templates/ipoe-server/chap-secrets.tmpl
+++ /dev/null
@@ -1,18 +0,0 @@
-# username server password acceptable local IP addresses shaper
-{% for interface in auth_interfaces -%}
-{% for mac in interface.mac -%}
-{% if mac.rate_upload and mac.rate_download -%}
-{% if mac.vlan_id -%}
-{{ interface.name }}.{{ mac.vlan_id }} * {{ mac.address | lower }} * {{ mac.rate_download }}/{{ mac.rate_upload }}
-{% else -%}
-{{ interface.name }} * {{ mac.address | lower }} * {{ mac.rate_download }}/{{ mac.rate_upload }}
-{% endif -%}
-{% else -%}
-{% if mac.vlan_id -%}
-{{ interface.name }}.{{ mac.vlan_id }} * {{ mac.address | lower }} *
-{% else -%}
-{{ interface.name }} * {{ mac.address | lower }} *
-{% endif -%}
-{% endif -%}
-{% endfor -%}
-{% endfor -%}