From 15995b495fb026584573edf8778ae533c1fce62d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 27 Mar 2020 21:49:36 +0100 Subject: add doc/ppp-on-up.md --- doc/ppp-on-up.md | 34 ++++++++++++++++++++++++++++++++++ ppp-on-up | 1 + 2 files changed, 35 insertions(+) create mode 100644 doc/ppp-on-up.md diff --git a/doc/ppp-on-up.md b/doc/ppp-on-up.md new file mode 100644 index 0000000..432a640 --- /dev/null +++ b/doc/ppp-on-up.md @@ -0,0 +1,34 @@ +Run scripts on ppp connection +============================= + +[◀ Go back to main README](../README.md) + +Description +----------- + +This script is supposed to run on established ppp connection. Currently +it does: + +* release IPv6 dhcp leases (and thus force a renew) +* run [update-tunnelbroker](update-tunnelbroker.md) + +Requirements and installation +----------------------------- + +Just install the script: + + $ScriptInstallUpdate ppp-on-up; + +... and make it the `on-up` script for ppp profile: + + / ppp profile set on-up=ppp-on-up [ find ]; + +See also +-------- + +* [Update configuration on IPv6 prefix change](ipv6-update.md) +* [Update tunnelbroker configuration](update-tunnelbroker.md) + +--- +[◀ Go back to main README](../README.md) +[▲ Go back to top](#top) diff --git a/ppp-on-up b/ppp-on-up index 48d3413..18229eb 100644 --- a/ppp-on-up +++ b/ppp-on-up @@ -3,6 +3,7 @@ # Copyright (c) 2013-2020 Christian Hesse # # run scripts on ppp up +# https://git.eworm.de/cgit/routeros-scripts/about/doc/ppp-on-up.md :global LogPrintExit; -- cgit v1.2.3-54-g00ecf