aboutsummaryrefslogtreecommitdiffstats
path: root/collect-wireless-mac.local
diff options
context:
space:
mode:
Diffstat (limited to 'collect-wireless-mac.local')
-rw-r--r--collect-wireless-mac.local3
1 files changed, 2 insertions, 1 deletions
diff --git a/collect-wireless-mac.local b/collect-wireless-mac.local
index d6be32d..080d036 100644
--- a/collect-wireless-mac.local
+++ b/collect-wireless-mac.local
@@ -14,6 +14,7 @@
:global LogPrintExit;
:global ScriptLock;
:global SendNotification;
+:global SymbolForNotification;
$ScriptLock "collect-wireless-mac.local";
@@ -51,7 +52,7 @@ $ScriptLock "collect-wireless-mac.local";
"first seen on " . $DateTime . " connected to SSID " . $Ssid . ", interface " . $Interface);
$LogPrintExit info $Message false;
/ interface wireless access-list add place-before=$PlaceBefore comment=$Message mac-address=$Mac disabled=yes;
- $SendNotification ($Mac . " connected to " . $Ssid) \
+ $SendNotification ([ $SymbolForNotification "mobile-phone" ] . $Mac . " connected to " . $Ssid) \
("A device with unknown MAC address connected to " . $Ssid . " on " . $Identity . ".\n\n" . \
"Controller: " . $Identity . "\n" . \
"Interface: " . $Interface . "\n" . \