summarylogtreecommitdiffstats
path: root/ipv6-up
diff options
context:
space:
mode:
authorJakub Janeczko2020-07-29 21:04:34 +0200
committerJakub Janeczko2020-07-29 21:15:02 +0200
commitad397c2832e9f389b38016b38a90ebb66502cf47 (patch)
treeca5a65fbc129a696713aa9e0e26129725656625a /ipv6-up
downloadaur-ppp-eap-mschapv2.tar.gz
Initial commit
Diffstat (limited to 'ipv6-up')
-rw-r--r--ipv6-up12
1 files changed, 12 insertions, 0 deletions
diff --git a/ipv6-up b/ipv6-up
new file mode 100644
index 00000000000..b294aafdce8
--- /dev/null
+++ b/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