summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_ipoe-server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-18 21:49:02 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-18 21:49:02 +0200
commit6da4b10139787dc1096c7a0d4b0cae5120caf870 (patch)
tree93c3331f21190c9799a6d04b01eb605159da400a /src/conf_mode/service_ipoe-server.py
parentefa172449e05328f8bea8d6879d5d38386b72e95 (diff)
downloadvyos-1x-6da4b10139787dc1096c7a0d4b0cae5120caf870.tar.gz
vyos-1x-6da4b10139787dc1096c7a0d4b0cae5120caf870.zip
ipoe-server: T2324: move template files to common accel-ppp template directory
Diffstat (limited to 'src/conf_mode/service_ipoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_ipoe-server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_ipoe-server.py b/src/conf_mode/service_ipoe-server.py
index 428d8d5d5..860458e0e 100755
--- a/src/conf_mode/service_ipoe-server.py
+++ b/src/conf_mode/service_ipoe-server.py
@@ -269,10 +269,10 @@ def generate(ipoe):
if not os.path.exists(dirname):
os.mkdir(dirname)
- render(ipoe_conf, 'ipoe-server/ipoe.config.tmpl', ipoe, trim_blocks=True)
+ render(ipoe_conf, 'accel-ppp/ipoe.config.tmpl', ipoe, trim_blocks=True)
if ipoe['auth_mode'] == 'local':
- render(ipoe_chap_secrets, 'ipoe-server/chap-secrets.tmpl', ipoe)
+ render(ipoe_chap_secrets, 'accel-ppp/chap-secrets.ipoe.tmpl', ipoe)
os.chmod(ipoe_chap_secrets, S_IRUSR | S_IWUSR | S_IRGRP)
else: