mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-17 23:39:30 +00:00
global-functions: add and fix global scheduler automatically...
... and also adjust README and INITIAL-COMMANDS.
This commit is contained in:
parent
1e65df49fb
commit
c80dd7d891
5 changed files with 12 additions and 6 deletions
|
|
@ -45,9 +45,6 @@ Run the complete base installation:
|
|||
};
|
||||
:put "Loading configuration and functions...";
|
||||
/system/script { run global-config; run global-functions; };
|
||||
:put "Scheduling to load configuration and functions...";
|
||||
/system/scheduler/remove [ find where name="global-scripts" ];
|
||||
/system/scheduler/add name="global-scripts" start-time=startup on-event="/system/script { run global-config; run global-functions; }";
|
||||
:if ([ :len [ /certificate/find where fingerprint=$CertFingerprint ] ] > 0) do={
|
||||
:put "Renaming certificate by its common-name...";
|
||||
:global CertificateNameByCN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue