diff options
author | Christian Hesse <mail@eworm.de> | 2021-02-18 14:52:47 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-02-18 21:45:38 +0100 |
commit | d5afc79eed2a54ab005f1b0ccf656c43a57e0a9b (patch) | |
tree | fb659b8c3fff90a6c5068513293c67132c3ec9aa /update-gre-address | |
parent | 2db73a189c6eb2cc16ec2f2a4c4b33133ae8130d (diff) |
global: drop script 'global-wait'change-44
All scripts wait for the global functions on their own now.
Diffstat (limited to 'update-gre-address')
-rw-r--r-- | update-gre-address | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/update-gre-address b/update-gre-address index 7dd4896..50d1373 100644 --- a/update-gre-address +++ b/update-gre-address @@ -7,6 +7,9 @@ # ipsec remote peer # https://git.eworm.de/cgit/routeros-scripts/about/doc/update-gre-address.md +:global GlobalFunctionsReady; +:while ($GlobalFunctionsReady != true) do={ :delay 500ms; } + :global LogPrintExit; / interface gre set remote-address=0.0.0.0 disabled=yes [ find where !running !disabled ]; |