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