void-packages/srcpkgs/ppp/files/ipv6-down

13 lines
329 B
Plaintext
Raw Normal View History

2014-02-18 08:38:53 +01:00
#!/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