diff options
Diffstat (limited to 'daily-psk.template')
-rw-r--r-- | daily-psk.template | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/daily-psk.template b/daily-psk.template index 42abba5..cfb7ae7 100644 --- a/daily-psk.template +++ b/daily-psk.template @@ -18,7 +18,7 @@ :global Identity; :global LogPrintExit2; -:global SendNotification; +:global SendNotification2; :global SymbolForNotification; :global UrlEncode; :global WaitForFile; @@ -87,12 +87,12 @@ $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 ]); - $SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \ - ("This is the daily PSK on " . $Identity . ":\n\n" . \ + $SendNotification2 ({ subject=([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid); \ + message=("This is the daily PSK on " . $Identity . ":\n\n" . \ "SSID: " . $Ssid . "\n" . \ "PSK: " . $NewPsk . "\n" . \ "Date: " . $Date . "\n\n" . \ - "A client device specific rule must not exist!") $Link; + "A client device specific rule must not exist!"); link=$Link }); } } } |