summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-04 14:53:26 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-04 14:53:26 +0200
commit3e7fe69a6b03b053098171411e286ba515838842 (patch)
tree4f64b0771afcbce71852da8ac4a93926966b0698 /src/conf_mode
parent98a13584416f133075f2ace11c1c4967662a15ac (diff)
downloadvyos-1x-3e7fe69a6b03b053098171411e286ba515838842.tar.gz
vyos-1x-3e7fe69a6b03b053098171411e286ba515838842.zip
pppoe: T1318: bugfix: proper use of ip-pre-up.d directory
Commit b250b233ec1 ("pppoe: T1318: move Jinja2 templates to data/templates folder") actually placed the pre-up configuration script into the ip-up folder.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index 3b79795d7..37934263c 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -167,7 +167,7 @@ def generate(pppoe):
# rendered into
intf = pppoe['intf']
config_pppoe = f'/etc/ppp/peers/{intf}'
- script_pppoe_pre_up = f'/etc/ppp/ip-up.d/1000-vyos-pppoe-{intf}'
+ script_pppoe_pre_up = f'/etc/ppp/ip-pre-up.d/1000-vyos-pppoe-{intf}'
script_pppoe_ip_up = f'/etc/ppp/ip-up.d/1000-vyos-pppoe-{intf}'
script_pppoe_ip_down = f'/etc/ppp/ip-down.d/1000-vyos-pppoe-{intf}'
script_pppoe_ipv6_up = f'/etc/ppp/ipv6-up.d/1000-vyos-pppoe-{intf}'