diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-05 16:46:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-05 16:46:46 +0200 |
commit | 0e3953fbed9709095cc2738862efdcffaee31230 (patch) | |
tree | d572dee27851e28ec16760e82c2c3256065fedc1 /data/templates/l2tp/chap-secrets.tmpl | |
parent | cce97b21745987f88228cf0ea8c147243f3aec4f (diff) | |
download | vyos-1x-0e3953fbed9709095cc2738862efdcffaee31230.tar.gz vyos-1x-0e3953fbed9709095cc2738862efdcffaee31230.zip |
T2230: confert dos to unix line endings
Diffstat (limited to 'data/templates/l2tp/chap-secrets.tmpl')
-rw-r--r-- | data/templates/l2tp/chap-secrets.tmpl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/data/templates/l2tp/chap-secrets.tmpl b/data/templates/l2tp/chap-secrets.tmpl index ee47a583e..323528b3c 100644 --- a/data/templates/l2tp/chap-secrets.tmpl +++ b/data/templates/l2tp/chap-secrets.tmpl @@ -1,11 +1,11 @@ -# username server password acceptable local IP addresses shaper
-{% for user in authentication['local-users'] %}
-{% if authentication['local-users'][user]['state'] == 'enabled' %}
-{% if (authentication['local-users'][user]['upload']) and (authentication['local-users'][user]['download']) %}
-{{user}}\t*\t{{authentication['local-users'][user]['passwd']}}\t{{authentication['local-users'][user]['ip']}}\t\
-{{authentication['local-users'][user]['download']}}/{{authentication['local-users'][user]['upload']}}
-{% else %}
-{{user}}\t*\t{{authentication['local-users'][user]['passwd']}}\t{{authentication['local-users'][user]['ip']}}
-{% endif %}
-{% endif %}
-{% endfor %}
+# username server password acceptable local IP addresses shaper +{% for user in authentication['local-users'] %} +{% if authentication['local-users'][user]['state'] == 'enabled' %} +{% if (authentication['local-users'][user]['upload']) and (authentication['local-users'][user]['download']) %} +{{user}}\t*\t{{authentication['local-users'][user]['passwd']}}\t{{authentication['local-users'][user]['ip']}}\t\ +{{authentication['local-users'][user]['download']}}/{{authentication['local-users'][user]['upload']}} +{% else %} +{{user}}\t*\t{{authentication['local-users'][user]['passwd']}}\t{{authentication['local-users'][user]['ip']}} +{% endif %} +{% endif %} +{% endfor %} |