summaryrefslogtreecommitdiffstats
path: root/abs/core/ppp/ip-up
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ppp/ip-up')
-rw-r--r--abs/core/ppp/ip-up8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/ppp/ip-up b/abs/core/ppp/ip-up
index 57e09c0..20473d7 100644
--- a/abs/core/ppp/ip-up
+++ b/abs/core/ppp/ip-up
@@ -2,3 +2,11 @@
#
# This script is run by pppd when there's a successful ppp connection.
#
+
+# Execute all scripts in /etc/ppp/ip-up.d/
+for ipup in /etc/ppp/ip-up.d/*.sh; do
+ if [ -x $ipup ]; then
+ # Parameters: interface-name tty-device speed local-IP-address remote-IP-address ipparam
+ $ipup "$@"
+ fi
+done