mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-04-18 11:09:38 +00:00
Compare commits
2 commits
d80f43a1c8
...
b78df91b23
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b78df91b23 | ||
|
|
29bcd191ee |
2 changed files with 9 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ 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
|
||||
|
||||
The last step is optional: Add this scheduler **only** if you want the
|
||||
|
|
|
|||
|
|
@ -1195,6 +1195,12 @@
|
|||
:error true;
|
||||
}
|
||||
|
||||
:if ([ :len ($ScriptInfo->"certificate") ] > 0) do={
|
||||
:if ([ $CertificateAvailable ($ScriptInfo->"certificate") ] = false) do={
|
||||
$LogPrint warning $0 ("Downloading certificate failed, trying without.");
|
||||
}
|
||||
}
|
||||
|
||||
:do {
|
||||
:local BaseUrl [ $EitherOr ($ScriptInfo->"base-url") $ScriptUpdatesBaseUrl ];
|
||||
:local UrlSuffix [ $EitherOr ($ScriptInfo->"url-suffix") $ScriptUpdatesUrlSuffix ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue