aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files/lib/netifd/ppp-up
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/files/lib/netifd/ppp-up')
-rwxr-xr-xpackage/ppp/files/lib/netifd/ppp-up6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/ppp/files/lib/netifd/ppp-up b/package/ppp/files/lib/netifd/ppp-up
index 7329e54ffd..a86e4d1f76 100755
--- a/package/ppp/files/lib/netifd/ppp-up
+++ b/package/ppp/files/lib/netifd/ppp-up
@@ -14,3 +14,9 @@ proto_set_keep 1
}
proto_send_update "$PPP_IPPARAM"
+[ -d /etc/ppp/ip-up.d ] && {
+ for SCRIPT in /etc/ppp/ip-up.d/*
+ do
+ [ -x "$SCRIPT" ] && "$SCRIPT" "$@"
+ done
+}