aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-09-03 20:59:00 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-09-12 21:29:41 +0200
commit1cee36a911ef20374cbafc989a5d3699c3fc0def (patch)
treed4198905fdfa5c848a462d5dcac6afb25628a4d3 /README.md
parent2258087aab5c94a3970685f7f25587ed5403111d (diff)
introduce global-config-overlaychange-9
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 3165684..629b7a8 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ Initial setup
If you know how things work just copy and paste the
[initial commands](initial-commands). Remember to edit and rerun
-`global-config`!
+`global-config-overlay`!
First time useres should take the long way below.
### Live presentation
@@ -85,18 +85,18 @@ crap and a good example how to *not* do it.
Now let's download the main scripts and add them in configuration on the fly.
- [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/routeros-scripts/plain/" . $Script) output=user as-value]->"data"); }
+ [admin@MikroTik] > :foreach Script in={ "global-config"; "global-config-overlay"; "global-functions"; "script-updates" } do={ / system script add name=$Script source=([ / tool fetch check-certificate=yes-without-crl ("https://git.eworm.de/cgit/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`!
+your mails to `mail@example.com`! Edit `global-config-overlay`, copy
+configuration from `global-config`.
- [admin@MikroTik] > / system script edit global-config source
+ [admin@MikroTik] > / system script edit global-config-overlay source
And finally load configuration and functions and add the scheduler.
- [admin@MikroTik] > / system script run global-config
- [admin@MikroTik] > / system script run global-functions
- [admin@MikroTik] > / system scheduler add name="global-scripts" start-time=startup on-event="/ system script { run global-config; run global-functions; }"
+ [admin@MikroTik] > / system script { run global-config; run global-config-overlay; run global-functions; }
+ [admin@MikroTik] > / system scheduler add name="global-scripts" start-time=startup on-event="/ system script { run global-config; run global-config-overlay; run global-functions; }"
Updating scripts
----------------