summaryrefslogtreecommitdiff
path: root/testing/ppp/ip-up
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-01 00:41:47 +0000
committerroot <root@rshg054.dnsready.net>2012-09-01 00:41:47 +0000
commite5a77fe6a2fd0e3eb7d877c942959b53fdff2a0c (patch)
treec4e25ae90be49a84f8a9eae41d11ad3f35dad12d /testing/ppp/ip-up
parent68cdc08aec92abf91448a542e06fabbedbb583bf (diff)
Sat Sep 1 00:41:47 UTC 2012
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