Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All scripts scheduled with "start-time=startup interval=0" start
simultaneously, thus racing on global variables. So delay for
a second and give global-config time to finish.
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
|
|
|
|
|
|
|
|
... and drop the scheduler workaround.
|
|
This requires the new script to contain a line:
# requires: dont-require-permissions=yes
|
|
|
|
|
|
|
|
|
|
|
|
... to make sure the api is not flooded with invalid requests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... to toggle between configuration 'default' and 'alt'.
|
|
Just add something like this to your bridge ports:
comment="default:br-ext,alt:br-intern"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We have to make sure the script does not terminate on first error...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This allows to fetch from different branch...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://wiki.mikrotik.com/wiki/Manual:Scripting_Tips_and_Tricks#How_to_define_empty_array
|
|
... for better formatting in export.
|
|
... and handle missing interface for accesslist entry.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|