summaryrefslogtreecommitdiffstats
path: root/abs/core/ppp/ip-up
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-up
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-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