summaryrefslogtreecommitdiff
path: root/data/templates/pppoe/ipv6-up.script.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-17 20:27:59 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-17 20:28:11 +0200
commit9bcdb58c13b7094a79ae2855a5682f29facab51d (patch)
tree941d3e452d539d2326b1f18a3820ec3ffb3bf8fd /data/templates/pppoe/ipv6-up.script.tmpl
parentfaa85accc99d6ff777f12f5dd9e43a6dd8f7e7a2 (diff)
downloadvyos-1x-9bcdb58c13b7094a79ae2855a5682f29facab51d.tar.gz
vyos-1x-9bcdb58c13b7094a79ae2855a5682f29facab51d.zip
pppoe: dhcpv6-pd: T421: start/stop delegation with interface status
Diffstat (limited to 'data/templates/pppoe/ipv6-up.script.tmpl')
-rw-r--r--data/templates/pppoe/ipv6-up.script.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/pppoe/ipv6-up.script.tmpl b/data/templates/pppoe/ipv6-up.script.tmpl
index a4b08ddaf..90873229a 100644
--- a/data/templates/pppoe/ipv6-up.script.tmpl
+++ b/data/templates/pppoe/ipv6-up.script.tmpl
@@ -39,3 +39,8 @@ echo 2 > /proc/sys/net/ipv6/conf/{{ intf }}/accept_ra
# Autoconfigure addresses using Prefix Information in Router Advertisements.
echo 1 > /proc/sys/net/ipv6/conf/{{ intf }}/autoconfigure
{% endif %}
+
+{% if dhcpv6_pd %}
+# Start wide dhcpv6 client
+systemctl start dhcp6c@{{ intf }}.service
+{% endif %}