aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.capsman
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-04-27 21:56:30 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-04-28 13:58:37 +0200
commitfe9754c6939fb58dd0d9d2cd281e8dcf9cd9a128 (patch)
treeef4fae704a1c7f3c117e7220702da69195201687 /daily-psk.capsman
parent714a679402ffaa009c74ae5c0d30c2f995e83f57 (diff)
daily-psk: pass origin to $SendNotification2
Diffstat (limited to 'daily-psk.capsman')
-rw-r--r--daily-psk.capsman3
1 files changed, 2 insertions, 1 deletions
diff --git a/daily-psk.capsman b/daily-psk.capsman
index eec3115..ca95fb8 100644
--- a/daily-psk.capsman
+++ b/daily-psk.capsman
@@ -81,7 +81,8 @@ $WaitFullyConnected;
:set Seen ($Seen, $Ssid);
:local Link ("https://www.eworm.de/cgi-bin/cqrlogo-wifi.cgi" . \
"?scale=8&level=1&ssid=" . [ $UrlEncode $Ssid ] . "&pass=" . [ $UrlEncode $NewPsk ]);
- $SendNotification2 ({ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \
+ $SendNotification2 ({ origin=$0; \
+ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \
message=("This is the daily PSK on " . $Identity . ":\n\n" . \
"SSID: " . $Ssid . "\n" . \
"PSK: " . $NewPsk . "\n" . \