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