summaryrefslogtreecommitdiffstats
path: root/abs/core/ppp/ip-down
diff options
context:
space:
mode:
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