Commit 09825bf8 authored by nanahira's avatar nanahira

auto restart dhcpv6 after restarting ppp

parent ab811431
......@@ -19,6 +19,13 @@ if [[ "$?" == 0 ]]; then
ip -6 route add default dev "$PPP_IFACE" table $INIT_ID
ip -6 route add default dev "$PPP_IFACE" metric $INIT_ID
ip -6 rule add pref 100 fwmark $INIT_ID lookup $INIT_ID
cd {{ansible_user_dir}}/nextgen-router/services/others
{% for br in bridges %}
{% if br.dhcpv6 %}
docker-compose restart dhcpv6-$PPP_IFACE-{{br.name}}
{% endif %}
{% endfor %}
fi
ppp_origin -A "$PPP_IFACE"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment