vp-build/srcpkgs/ppp/files/ip-down
Juan RP f1d2df23c2 Added ppp-2.4.5 build template.
--HG--
extra : convert_revision : 277478e29b83b29d1d40ae95b5c522ea909f9647
2010-04-12 23:53:08 +02:00

13 lines
307 B
Bash

#!/bin/sh
#
# This script is run by pppd after the connection has ended.
#
# Execute all scripts in /etc/ppp/ip-up.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