summaryrefslogtreecommitdiff
path: root/testing/ppp/ip-up
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-03 16:47:08 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-03 16:47:08 -0300
commita420f5c4c2a4eeb411175d086b339b620dba309d (patch)
treeaa810cc98c17cf30cad06226c22f8256c056430e /testing/ppp/ip-up
parent0ec0464a32563349252dda85e9176a9475d6fc34 (diff)
parent81de702a6fc79e430129a7d2b708d90f43ae5ba1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/vdrift/PKGBUILD community-testing/widelands/PKGBUILD core/cracklib/PKGBUILD core/systemd/PKGBUILD extra/imagemagick/PKGBUILD extra/mesa/PKGBUILD multilib/lib32-glibc/PKGBUILD testing/libreoffice/PKGBUILD testing/mpfr/PKGBUILD testing/systemd/PKGBUILD testing/sysvinit/PKGBUILD testing/yp-tools/PKGBUILD
Diffstat (limited to 'testing/ppp/ip-up')
-rw-r--r--testing/ppp/ip-up12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/ppp/ip-up b/testing/ppp/ip-up
new file mode 100644
index 000000000..20473d73a
--- /dev/null
+++ b/testing/ppp/ip-up
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# 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