diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index ae4da2b..c1af7c9 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -8,7 +8,6 @@ :global "identity"; -:global CertificateAvailable; :global GetMacVendor; :global SendNotification; diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local index 303cb53..ef59f3a 100644 --- a/collect-wireless-mac.local +++ b/collect-wireless-mac.local @@ -8,7 +8,6 @@ :global "identity"; -:global CertificateAvailable; :global GetMacVendor; :global SendNotification; diff --git a/collect-wireless-mac.template b/collect-wireless-mac.template index fc4b3fb..2f108a3 100644 --- a/collect-wireless-mac.template +++ b/collect-wireless-mac.template @@ -9,7 +9,6 @@ :global "identity"; -:global CertificateAvailable; :global GetMacVendor; :global SendNotification; diff --git a/global-functions b/global-functions index c931a26..d4c46ae 100644 --- a/global-functions +++ b/global-functions @@ -97,6 +97,8 @@ :global GetMacVendor do={ :local mac [ :tostr $1 ]; + :global CertificateAvailable; + :do { :local vendor; $CertificateAvailable "Let's Encrypt Authority X3" "letsencrypt";