aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-10-09 21:36:14 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-10-09 21:36:14 +0200
commit4e02260ad731c370af9a7bf39586be361bf97343 (patch)
tree07a20f832db7fef1426e3a70fcc10c0acb529d17 /README.md
parentcec61183eb254db328c35733e42324f13abf9224 (diff)
README: now that we need three scripts... download and add in loop
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/README.md b/README.md
index 947ab4d..dbd0d65 100644
--- a/README.md
+++ b/README.md
@@ -75,9 +75,7 @@ Always make sure there are no certificates installed you do not know or want!
Now let's download the main scripts and add them in configuration on the fly.
- [admin@MikroTik] > / system script add name=global-config source=([ / tool fetch check-certificate=yes-without-crl "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/global-config" output=user as-value]->"data")
- [admin@MikroTik] > / system script add name=global-functions source=([ / tool fetch check-certificate=yes-without-crl "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/global-functions" output=user as-value]->"data")
- [admin@MikroTik] > / system script add name=script-updates source=([ / tool fetch check-certificate=yes-without-crl "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/script-updates" output=user as-value]->"data")
+ [admin@MikroTik] > :foreach script in={ "global-config"; "global-functions"; "script-updates" } do={ / system script add name=$script source=([ / tool fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit.cgi/routeros-scripts/plain/" . $script) output=user as-value]->"data"); }
The configuration needs to be tweaked for your needs. Make sure not to send
your mails to `mail@example.com`!