summaryrefslogtreecommitdiff
path: root/data/templates/pppoe-server/chap-secrets.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-18 12:38:47 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-18 14:31:51 +0200
commit267b3213ef0e6ac4501470bef797796276879421 (patch)
tree7d2ede2263d72ea3c3ac03f735ba8932da8181b7 /data/templates/pppoe-server/chap-secrets.tmpl
parent901d5e89ec6e3fb0f3d13f90f0495a4dda592454 (diff)
downloadvyos-1x-267b3213ef0e6ac4501470bef797796276879421.tar.gz
vyos-1x-267b3213ef0e6ac4501470bef797796276879421.zip
accel-ppp: T2314: use common tempplate for chap-secrets
Diffstat (limited to 'data/templates/pppoe-server/chap-secrets.tmpl')
-rw-r--r--data/templates/pppoe-server/chap-secrets.tmpl10
1 files changed, 0 insertions, 10 deletions
diff --git a/data/templates/pppoe-server/chap-secrets.tmpl b/data/templates/pppoe-server/chap-secrets.tmpl
deleted file mode 100644
index dd00d7bd0..000000000
--- a/data/templates/pppoe-server/chap-secrets.tmpl
+++ /dev/null
@@ -1,10 +0,0 @@
-# username server password acceptable local IP addresses shaper
-{% for user in local_users %}
-{% if user.state == 'enabled' %}
-{% if user.upload and user.download %}
-{{ "%-12s" | format(user.name) }} * {{ "%-16s" | format(user.password) }} {{ "%-16s" | format(user.ip) }} {{ user.download }} / {{ user.upload }}
-{% else %}
-{{ "%-12s" | format(user.name) }} * {{ "%-16s" | format(user.password) }} {{ "%-16s" | format(user.ip) }}
-{% endif %}
-{% endif %}
-{% endfor %}