mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-10 18:14:29 +02:00
INITIAL-COMMANDS: set script owner on initial creation
This commit is contained in:
parent
60bd9d1abc
commit
be4221264c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ Run the complete base installation:
|
||||||
/file/remove "letsencrypt-E1.pem";
|
/file/remove "letsencrypt-E1.pem";
|
||||||
:delay 1s;
|
:delay 1s;
|
||||||
:foreach Script in={ "global-config"; "global-config-overlay"; "global-functions" } do={
|
:foreach Script in={ "global-config"; "global-config-overlay"; "global-functions" } do={
|
||||||
/system/script/add name=$Script source=([ /tool/fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/routeros-scripts/plain/" . $Script . ".rsc") output=user as-value]->"data");
|
/system/script/add name=$Script owner=$Script source=([ /tool/fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/routeros-scripts/plain/" . $Script . ".rsc") output=user as-value]->"data");
|
||||||
};
|
};
|
||||||
/system/script { run global-config; run global-functions; };
|
/system/script { run global-config; run global-functions; };
|
||||||
/system/scheduler/add name="global-scripts" start-time=startup on-event="/system/script { run global-config; run global-functions; }";
|
/system/scheduler/add name="global-scripts" start-time=startup on-event="/system/script { run global-config; run global-functions; }";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue