diff options
author | Christian Hesse <mail@eworm.de> | 2021-04-27 21:56:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2021-04-28 13:58:37 +0200 |
commit | fe9754c6939fb58dd0d9d2cd281e8dcf9cd9a128 (patch) | |
tree | ef4fae704a1c7f3c117e7220702da69195201687 /daily-psk.local | |
parent | 714a679402ffaa009c74ae5c0d30c2f995e83f57 (diff) |
daily-psk: pass origin to $SendNotification2
Diffstat (limited to 'daily-psk.local')
-rw-r--r-- | daily-psk.local | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daily-psk.local b/daily-psk.local index 473238e..bddf2c9 100644 --- a/daily-psk.local +++ b/daily-psk.local @@ -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" . \ |