From 3cdd0fb94ba1c1ace47f3833ebaea46ff6cfb844 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 28 Dec 2018 19:39:59 +0100 Subject: global-functions: properly define global functions --- collect-wireless-mac.capsman | 1 - collect-wireless-mac.local | 1 - collect-wireless-mac.template | 1 - global-functions | 2 ++ 4 files changed, 2 insertions(+), 3 deletions(-) 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"; -- cgit v1.2.3-70-g09d2