From 05a73e0e3121dca6cff0f5fdb70eadb6ccb62213 Mon Sep 17 00:00:00 2001 From: David Wood Date: Sun, 11 Oct 2015 17:05:40 +0100 Subject: Add /usr/local/sbin/ppp-ipv6 helper script /usr/local/sbin/ppp-ipv6 up|down Interface using SLAAC or DHCP6 going down: * bring down dhcp6c if it is running * disable router advertisements (and therefore SLAAC) * remove any autoconfigured IPv6 addresses Interface using SLAAC or DHCP6 coming up: * call interface_dhcpv6_configure() if dhcp6c not running and router advertisements off interface_dhcpv6_configure() will enable router advertisements, configure rtsold and dhcp6c, then set rtsold to prime dhcp6c as required. --- usr/local/sbin/ppp-ipv6 | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100755 usr/local/sbin/ppp-ipv6 diff --git a/usr/local/sbin/ppp-ipv6 b/usr/local/sbin/ppp-ipv6 new file mode 100755 index 0000000..a05a4c2 --- /dev/null +++ b/usr/local/sbin/ppp-ipv6 @@ -0,0 +1,123 @@ +#!/usr/local/bin/php -f + up|down\n"); +} +exit(1); + +?> -- cgit v1.1