mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-21 19:34:41 +02:00
drop deprecated mode= for fetch
This commit is contained in:
parent
2e10a80f95
commit
b93d4d40bc
7 changed files with 8 additions and 8 deletions
|
@ -130,7 +130,7 @@
|
|||
:do {
|
||||
:local Vendor;
|
||||
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
|
||||
:set Vendor ([ / tool fetch mode=https check-certificate=yes-without-crl \
|
||||
:set Vendor ([ / tool fetch check-certificate=yes-without-crl \
|
||||
("https://api.macvendors.com/" . [ :pick $Mac 0 8 ]) output=user as-value ]->"data");
|
||||
:return $Vendor;
|
||||
} on-error={
|
||||
|
@ -176,7 +176,7 @@
|
|||
|
||||
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
|
||||
:do {
|
||||
/ tool fetch mode=https check-certificate=yes-without-crl \
|
||||
/ tool fetch check-certificate=yes-without-crl \
|
||||
("https://upgrade.mikrotik.com/routeros/" . $PkgVer . "/" . $PkgFile) \
|
||||
dst-path=$PkgDest;
|
||||
} on-error={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue