diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-17 20:42:03 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-17 20:42:03 +0200 |
commit | dd6d46f7a60fcc196172e8a7278d7f91e9a63dda (patch) | |
tree | 1eb17f8aaed85cae44f859bbca68ace5d913a302 /data/templates/pppoe/ip-down.script.tmpl | |
parent | ca2f7e5e62efa163843b45a4f89c1e66d40a9a4a (diff) | |
parent | 8f1fd7ce8e9202a20913fe2f9c701af7a0b9fc72 (diff) | |
download | vyos-1x-dd6d46f7a60fcc196172e8a7278d7f91e9a63dda.tar.gz vyos-1x-dd6d46f7a60fcc196172e8a7278d7f91e9a63dda.zip |
Merge branch 'ipv6-pd' of github.com:c-po/vyos-1x into current
* 'ipv6-pd' of github.com:c-po/vyos-1x:
pppoe: dhcpv6-pd: T421: change system type to forking
pppoe: dhcpv6-pd: T421: stop service when config is removed
pppoe: dhcpv6-pd: T421: start/stop delegation with interface status
pppoe: dhcpv6-pd: T421: initial support
dhcpv6-pd: T421: migrate from ISC dhclient to wide-dhcpv6-client
Diffstat (limited to 'data/templates/pppoe/ip-down.script.tmpl')
-rw-r--r-- | data/templates/pppoe/ip-down.script.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/pppoe/ip-down.script.tmpl b/data/templates/pppoe/ip-down.script.tmpl index a68fc099c..fe8fd7584 100644 --- a/data/templates/pppoe/ip-down.script.tmpl +++ b/data/templates/pppoe/ip-down.script.tmpl @@ -26,3 +26,8 @@ fi # Always delete default route when interface goes down vtysh -c "conf t" ${VRF_NAME} -c "no ip route 0.0.0.0/0 {{ intf }} ${VRF_NAME}" {% endif %} + +{% if dhcpv6_pd %} +# Start wide dhcpv6 client +systemctl stop dhcp6c@{{ intf }}.service +{% endif %} |