diff options
author | Christian Hesse <mail@eworm.de> | 2020-03-23 12:21:38 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-03-23 14:01:20 +0100 |
commit | 5f46ef7635f27f6180898815cebd954617790b37 (patch) | |
tree | 86cdb560f00a1e6eb6a78ac4c3395600fd97e618 /README.md | |
parent | 1282a91f0401deaaa516826afc6b92622389aeee (diff) |
completely replace script-updates with $ScriptInstallUpdatechange-14
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -85,7 +85,7 @@ 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-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"); } + [admin@MikroTik] > :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) 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`! Edit `global-config-overlay`, copy @@ -101,11 +101,7 @@ And finally load configuration and functions and add the scheduler. Updating scripts ---------------- -To update existing scripts just run `script-updates`. - - [admin@MikroTik] > / system script run script-updates - -Calling function `$ScriptInstallUpdate` does the same. +To update existing scripts just run function `$ScriptInstallUpdate`. [admin@MikroTik] > $ScriptInstallUpdate |