rename scripts and add file extension ".rsc"
No functional change for the user... The migration is done automatically.
This commit is contained in:
parent
1e6e0646e2
commit
a832fd04ef
125 changed files with 5622 additions and 5175 deletions
|
|
@ -87,7 +87,7 @@ date and time is set correctly!
|
|||
|
||||
Now let's download the main scripts and add them in configuration on the fly.
|
||||
|
||||
: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"); };
|
||||
: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"); };
|
||||
|
||||

|
||||
|
||||
|
|
@ -112,7 +112,7 @@ Editing configuration
|
|||
|
||||
The configuration needs to be tweaked for your needs. Edit
|
||||
`global-config-overlay`, copy relevant configuration from
|
||||
[`global-config`](global-config) (the one without `-overlay`).
|
||||
[`global-config`](global-config.rsc) (the one without `-overlay`).
|
||||
Save changes and exit with `Ctrl-o`.
|
||||
|
||||
/system/script/edit global-config-overlay source;
|
||||
|
|
@ -247,7 +247,7 @@ still use my scripts to manage and deploy yours, by specifying `base-url`
|
|||
|
||||
This will fetch and install a script `hello-world.rsc` from the given url:
|
||||
|
||||
$ScriptInstallUpdate hello-world.rsc "base-url=https://git.eworm.de/cgit/routeros-scripts-custom/plain/";
|
||||
$ScriptInstallUpdate hello-world "base-url=https://git.eworm.de/cgit/routeros-scripts-custom/plain/";
|
||||
|
||||

|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue