summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-29 15:13:54 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-29 15:13:54 +0200
commitc7c77c144495052cfb227a35e69d69e8d9747e81 (patch)
tree85c03eb16015d8e3ada09882915203d466b2a19e
parentaf87333fe4164c9d37f8d21d50dd4e164378c709 (diff)
downloadvyos-1x-c7c77c144495052cfb227a35e69d69e8d9747e81.tar.gz
vyos-1x-c7c77c144495052cfb227a35e69d69e8d9747e81.zip
pppoe: template: T2388: fix unexpected keyword argument
Commit 2bf12b579e0 ("template: T2388: move mkdir/chmod/chown within render()") passed an unexpected keyword to the render() function, it was simply wrongly spelled.
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index dbc40d8d4..e72540f66 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -187,19 +187,19 @@ def generate(pppoe):
# Create PPP configuration files
render(config_pppoe, 'pppoe/peer.tmpl',
- pppoe, trim_blocks=True, permision=0o755)
+ pppoe, trim_blocks=True, permission=0o755)
# Create script for ip-pre-up.d
render(script_pppoe_pre_up, 'pppoe/ip-pre-up.script.tmpl',
- pppoe, trim_blocks=True, permision=0o755)
+ pppoe, trim_blocks=True, permission=0o755)
# Create script for ip-up.d
render(script_pppoe_ip_up, 'pppoe/ip-up.script.tmpl',
- pppoe, trim_blocks=True, permision=0o755)
+ pppoe, trim_blocks=True, permission=0o755)
# Create script for ip-down.d
render(script_pppoe_ip_down, 'pppoe/ip-down.script.tmpl',
- pppoe, trim_blocks=True, permision=0o755)
+ pppoe, trim_blocks=True, permission=0o755)
# Create script for ipv6-up.d
render(script_pppoe_ipv6_up, 'pppoe/ipv6-up.script.tmpl',
- pppoe, trim_blocks=True, permision=0o755)
+ pppoe, trim_blocks=True, permission=0o755)
return None