diff options
author | Christian Hesse <mail@eworm.de> | 2022-05-11 18:57:17 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-05-11 21:44:17 +0200 |
commit | 1b3f2620a7e521ef33a7e2273b57e1ec0d69dda7 (patch) | |
tree | 7551c26d9d46ff2c2ffcc154b6895ea03f8c34ce /INITIAL-COMMANDS.md | |
parent | a5c233b28cf1bf23712fe839ed417bf47cb01e16 (diff) |
INITIAL-COMMANDS: hardcode url suffix
Diffstat (limited to 'INITIAL-COMMANDS.md')
-rw-r--r-- | INITIAL-COMMANDS.md | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/INITIAL-COMMANDS.md b/INITIAL-COMMANDS.md index 66db40c..33e424a 100644 --- a/INITIAL-COMMANDS.md +++ b/INITIAL-COMMANDS.md @@ -3,18 +3,13 @@ Initial commands [◀ Go back to main README](README.md) -> ⚠️ **Warning**: These command are inteneded for initial setup. If you are +> ⚠️ **Warning**: These commands are inteneded for initial setup. If you are > not aware of the procedure please follow > [the long way in detail](README.md#the-long-way-in-detail). -One extra step is required if you run RouterOS v6: - - :global ScriptUpdatesUrlSuffix "\?h=routeros-v6"; - -Then run the complete base installation: +Run the complete base installation: { - :global ScriptUpdatesUrlSuffix; / tool fetch "https://git.eworm.de/cgit/routeros-scripts/plain/certs/R3.pem" dst-path="letsencrypt-R3.pem" as-value; :delay 1s; / certificate import file-name=letsencrypt-R3.pem passphrase=""; @@ -24,7 +19,7 @@ Then run the complete base installation: / file remove "letsencrypt-R3.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 . $ScriptUpdatesUrlSuffix) output=user as-value]->"data"); + / system script add name=$Script source=([ / tool fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/routeros-scripts/plain/" . $Script . "\?h=routeros-v6") 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; }"; |