summaryrefslogtreecommitdiff
path: root/testing/ppp/ipv6-up
blob: b294aafdce8a47399eedf826c187da06c6b1e8de (plain)
1
2
3
4
5
6
7
8
9
10
11
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