aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ppp-on-up11
1 files changed, 11 insertions, 0 deletions
diff --git a/ppp-on-up b/ppp-on-up
index af99af1..f270847 100644
--- a/ppp-on-up
+++ b/ppp-on-up
@@ -15,3 +15,14 @@
:delay 1s;
/ ipv6 dhcp-client enable $DhcpClient;
}
+
+:local Scripts {
+ "update-tunnelbroker"
+}
+
+:foreach Script in=$Scripts do={
+ :if ([ / system script print count-only where name=$Script ] > 0) do={
+ :log debug ("Running script from ppp-on-up: " . $Script);
+ / system script run $Script;
+ }
+}