aboutsummaryrefslogtreecommitdiffstats
path: root/INITIAL-COMMANDS.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-01-16 22:01:04 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-16 22:01:04 +0100
commitbe4221264ca6dd2f69f3d8cea8a2aaa65cf5580b (patch)
treefd8f5e6f38092ae57990b040b180625ac6a10791 /INITIAL-COMMANDS.md
parent60bd9d1abca707a5acb441b7d352c7526e58b2f8 (diff)
INITIAL-COMMANDS: set script owner on initial creation
Diffstat (limited to 'INITIAL-COMMANDS.md')
-rw-r--r--INITIAL-COMMANDS.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/INITIAL-COMMANDS.md b/INITIAL-COMMANDS.md
index da951aa..dfdcddc 100644
--- a/INITIAL-COMMANDS.md
+++ b/INITIAL-COMMANDS.md
@@ -19,7 +19,7 @@ Run the complete base installation:
/file/remove "letsencrypt-E1.pem";
:delay 1s;
: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/scheduler/add name="global-scripts" start-time=startup on-event="/system/script { run global-config; run global-functions; }";