diff options
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-pppoe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py index 8002f55fa..0b7d8e9cb 100755 --- a/src/conf_mode/interfaces-pppoe.py +++ b/src/conf_mode/interfaces-pppoe.py @@ -295,13 +295,13 @@ def generate(pppoe): # Create PPP configuration files tmpl = Template(config_pppoe_tmpl) config_text = tmpl.render(pppoe) - with open(ipv6_ifup_script_file, 'w') as f: + with open(config_file_pppoe, 'w') as f: f.write(config_text) script_file = '/etc/ppp/ipv6-up.d/50-vyos-{}-autoconf'.format(pppoe['intf']) tmpl = Template(config_pppoe_ipv6_up_tmpl) config_text = tmpl.render(pppoe) - with open(script_file, 'w') as f: + with open(ipv6_ifup_script_file, 'w') as f: f.write(config_text) os.chmod(script_file, S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) |