From 956244d53b19ecd1c7e1d54ac4b9350db83cff12 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 18 Sep 2020 13:11:33 +0200 Subject: collect-wireless-mac: add symbol in notification --- collect-wireless-mac.capsman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'collect-wireless-mac.capsman') diff --git a/collect-wireless-mac.capsman b/collect-wireless-mac.capsman index a9a331e..7abae6a 100644 --- a/collect-wireless-mac.capsman +++ b/collect-wireless-mac.capsman @@ -14,6 +14,7 @@ :global LogPrintExit; :global ScriptLock; :global SendNotification; +:global SymbolForNotification; $ScriptLock "collect-wireless-mac.capsman"; @@ -51,7 +52,7 @@ $ScriptLock "collect-wireless-mac.capsman"; "first seen on " . $DateTime . " connected to SSID " . $Ssid . ", interface " . $Interface); $LogPrintExit info $Message false; / caps-man 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" . \ -- cgit v1.2.3-54-g00ecf