mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-07-07 09:51:33 +00:00
Compare commits
No commits in common. "b78df91b23a4e108ef0268c3c604191581d104ae" and "d80f43a1c86760565d0e0a662ceb0de63636c61a" have entirely different histories.
b78df91b23
...
d80f43a1c8
2 changed files with 0 additions and 9 deletions
|
|
@ -122,9 +122,6 @@ And finally load configuration and functions and add the scheduler.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
> 💡️ **Hint**: You see complaints regarding syntax errors? Most likely the
|
|
||||||
> RouterOS on your device is too old. Check for updates!
|
|
||||||
|
|
||||||
### Scheduled automatic updates
|
### Scheduled automatic updates
|
||||||
|
|
||||||
The last step is optional: Add this scheduler **only** if you want the
|
The last step is optional: Add this scheduler **only** if you want the
|
||||||
|
|
|
||||||
|
|
@ -1195,12 +1195,6 @@
|
||||||
:error true;
|
:error true;
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ([ :len ($ScriptInfo->"certificate") ] > 0) do={
|
|
||||||
:if ([ $CertificateAvailable ($ScriptInfo->"certificate") ] = false) do={
|
|
||||||
$LogPrint warning $0 ("Downloading certificate failed, trying without.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
:do {
|
:do {
|
||||||
:local BaseUrl [ $EitherOr ($ScriptInfo->"base-url") $ScriptUpdatesBaseUrl ];
|
:local BaseUrl [ $EitherOr ($ScriptInfo->"base-url") $ScriptUpdatesBaseUrl ];
|
||||||
:local UrlSuffix [ $EitherOr ($ScriptInfo->"url-suffix") $ScriptUpdatesUrlSuffix ];
|
:local UrlSuffix [ $EitherOr ($ScriptInfo->"url-suffix") $ScriptUpdatesUrlSuffix ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue