aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.template.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-05-15 15:54:12 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-05-15 15:54:12 +0200
commit787ae4440ccc795e82373e80ed5e0266e529374a (patch)
tree2a6df141a0382ec315f56af40b67ed73683add56 /daily-psk.template.rsc
parent169c1ab6e1fce71c50cc4eaadeaae7cc685ee7bc (diff)
daily-psk: quote ssid and passphrase
Diffstat (limited to 'daily-psk.template.rsc')
-rw-r--r--daily-psk.template.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/daily-psk.template.rsc b/daily-psk.template.rsc
index 6c67a57..35fa82c 100644
--- a/daily-psk.template.rsc
+++ b/daily-psk.template.rsc
@@ -80,7 +80,7 @@
:local Skip 0;
:if ($NewPsk != $OldPsk) do={
- $LogPrint info $ScriptName ("Updating daily PSK for " . $Ssid . " to " . $NewPsk . " (was " . $OldPsk . ")");
+ $LogPrint info $ScriptName ("Updating daily PSK for '" . $Ssid . "' to '" . $NewPsk . "' (was '" . $OldPsk . "')");
/caps-man/access-list/set $AccList private-passphrase=$NewPsk;
/interface/wifi/access-list/set $AccList passphrase=$NewPsk;
/interface/wireless/access-list/set $AccList private-pre-shared-key=$NewPsk;