blob: cfd3ae093b50693d6684732f0fd14452ec825cd1 (
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/ip-down.d/
for ipdown in /etc/ppp/ip-down.d/*.sh; do
if [ -x $ipdown ]; then
# Parameters: interface-name tty-device speed local-IP-address remote-IP-address ipparam
$ipdown "$@"
fi
done
|