add doc/ppp-on-up.md

This commit is contained in:
Christian Hesse 2020-03-27 21:49:36 +01:00
parent d075cce0ef
commit 15995b495f
2 changed files with 35 additions and 0 deletions

34
doc/ppp-on-up.md Normal file
View file

@ -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)

View file

@ -3,6 +3,7 @@
# Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de>
#
# run scripts on ppp up
# https://git.eworm.de/cgit/routeros-scripts/about/doc/ppp-on-up.md
:global LogPrintExit;