diff options
author | Christian Hesse <mail@eworm.de> | 2019-01-04 20:29:42 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-01-04 20:29:42 +0100 |
commit | 63406dafbe67ea1b5445cefcd1043fa69d1e20c9 (patch) | |
tree | 3482e731fc061cb5ef7f7f68a0c2686bec58a37b /ppp-on-up | |
parent | 1cd7679a07014ff0f801fd3732318fad4bd130c8 (diff) |
ppp-on-up: run scripts if available
Diffstat (limited to 'ppp-on-up')
-rw-r--r-- | ppp-on-up | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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; + } +} |