summaryrefslogtreecommitdiffstats
path: root/abs/core/ppp/ip-down
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:34:48 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:34:48 (GMT)
commitc282e465b7e2a9dc862d7eaa38b43a2f68c0127d (patch)
tree08cb25f781f57345216b9e94bd3e739e5ccb58b9 /abs/core/ppp/ip-down
parentee24082e49f00f0ec0d4b9720aca389dfb253cba (diff)
downloadlinhes_pkgbuild-c282e465b7e2a9dc862d7eaa38b43a2f68c0127d.zip
linhes_pkgbuild-c282e465b7e2a9dc862d7eaa38b43a2f68c0127d.tar.gz
linhes_pkgbuild-c282e465b7e2a9dc862d7eaa38b43a2f68c0127d.tar.bz2
ppp: upgrade
Diffstat (limited to 'abs/core/ppp/ip-down')
-rw-r--r--abs/core/ppp/ip-down8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/ppp/ip-down b/abs/core/ppp/ip-down
index 3a88c49..301f3ab 100644
--- a/abs/core/ppp/ip-down
+++ b/abs/core/ppp/ip-down
@@ -2,3 +2,11 @@
#
# 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