mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-01 00:34:29 +02:00
add doc/ppp-on-up.md
This commit is contained in:
parent
d075cce0ef
commit
15995b495f
2 changed files with 35 additions and 0 deletions
34
doc/ppp-on-up.md
Normal file
34
doc/ppp-on-up.md
Normal 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)
|
|
@ -3,6 +3,7 @@
|
||||||
# Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de>
|
# Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de>
|
||||||
#
|
#
|
||||||
# run scripts on ppp up
|
# run scripts on ppp up
|
||||||
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/ppp-on-up.md
|
||||||
|
|
||||||
:global LogPrintExit;
|
:global LogPrintExit;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue