diff options
author | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
commit | 4eb56e1b3a80c84f2dddf2692310369dc9cbd31a (patch) | |
tree | b31de2992989d616383f6552ba5d23b75701ef04 /testing/ppp/ipv6-up | |
parent | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (diff) |
Sun Oct 14 00:45:38 PDT 2012
Diffstat (limited to 'testing/ppp/ipv6-up')
-rw-r--r-- | testing/ppp/ipv6-up | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/ppp/ipv6-up b/testing/ppp/ipv6-up new file mode 100644 index 000000000..b294aafdc --- /dev/null +++ b/testing/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 |