mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-17 00:01:24 +02:00
global-functions: properly define global functions
This commit is contained in:
parent
ea55464434
commit
3cdd0fb94b
4 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
:global "identity";
|
:global "identity";
|
||||||
|
|
||||||
:global CertificateAvailable;
|
|
||||||
:global GetMacVendor;
|
:global GetMacVendor;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
:global "identity";
|
:global "identity";
|
||||||
|
|
||||||
:global CertificateAvailable;
|
|
||||||
:global GetMacVendor;
|
:global GetMacVendor;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
:global "identity";
|
:global "identity";
|
||||||
|
|
||||||
:global CertificateAvailable;
|
|
||||||
:global GetMacVendor;
|
:global GetMacVendor;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,8 @@
|
||||||
:global GetMacVendor do={
|
:global GetMacVendor do={
|
||||||
:local mac [ :tostr $1 ];
|
:local mac [ :tostr $1 ];
|
||||||
|
|
||||||
|
:global CertificateAvailable;
|
||||||
|
|
||||||
:do {
|
:do {
|
||||||
:local vendor;
|
:local vendor;
|
||||||
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
|
$CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue