mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
add script 'global-wait'
Run this in schedulers that fire on startup without interval. Schedulers should look something like this: / system scheduler { add name=global-scripts on-event="/ system script { run global-config; run global-config-overlay; run global-functions; }" start-time=startup; add name=bridge-port-to-default on-event="/ system script { run global-wait; run bridge-port-to-default; }" start-time=startup; }
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
:global ExpectedConfigVersion 13;
|
||||
|
||||
# global variables not to be changed by user
|
||||
:global GlobalFunctionsReady false;
|
||||
:global Identity [ / system identity get name ];
|
||||
:global SentConfigChangesNotification "-";
|
||||
:global SentLteFirmwareUpgradeNotification "-";
|
||||
@@ -524,3 +525,6 @@
|
||||
:delay 1s;
|
||||
}
|
||||
}
|
||||
|
||||
# signal we are ready
|
||||
:set GlobalFunctionsReady true;
|
||||
|
Reference in New Issue
Block a user