global-functions: add and fix global scheduler automatically...

... and also adjust README and INITIAL-COMMANDS.
This commit is contained in:
Christian Hesse 2025-11-13 19:48:02 +01:00
parent 1e65df49fb
commit c80dd7d891
5 changed files with 12 additions and 6 deletions

View file

@ -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;