summaryrefslogtreecommitdiffstats
path: root/abs/core/ppp/ipv6-down
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ppp/ipv6-down')
-rw-r--r--abs/core/ppp/ipv6-down12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core/ppp/ipv6-down b/abs/core/ppp/ipv6-down
new file mode 100644
index 0000000..d3b9e28
--- /dev/null
+++ b/abs/core/ppp/ipv6-down
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# This script is run by pppd after the connection has ended.
+#
+
+# Execute all scripts in /etc/ppp/ipv6-down.d/
+for ipdown in /etc/ppp/ipv6-down.d/*.sh; do
+ if [ -x $ipdown ]; then
+ # Parameters: interface-name tty-device speed local-link-local-address remote-link-local-address ipparam
+ $ipdown "$@"
+ fi
+done