mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
script-updates: check certificate on fetch
This commit is contained in:
parent
a6d809ef8e
commit
44a6c1ca8b
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@
|
||||||
|
|
||||||
:if ($ignore = 0) do={
|
:if ($ignore = 0) do={
|
||||||
:log debug ("Fetching script from url: " . $scriptname);
|
:log debug ("Fetching script from url: " . $scriptname);
|
||||||
/ tool fetch dst-path=("script-updates/" . $scriptname) ($"script-updates-baseurl" . $scriptname);
|
/ tool fetch check-certificate=yes-without-crl \
|
||||||
|
dst-path=("script-updates/" . $scriptname) \
|
||||||
|
($"script-updates-baseurl" . $scriptname);
|
||||||
:set scriptfile [ / file find where name=("script-updates/" . $scriptname) ];
|
:set scriptfile [ / file find where name=("script-updates/" . $scriptname) ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue