diff options
author | Christian Hesse <mail@eworm.de> | 2024-05-15 15:54:12 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-05-15 15:54:12 +0200 |
commit | 787ae4440ccc795e82373e80ed5e0266e529374a (patch) | |
tree | 2a6df141a0382ec315f56af40b67ed73683add56 /daily-psk.wifi.rsc | |
parent | 169c1ab6e1fce71c50cc4eaadeaae7cc685ee7bc (diff) |
daily-psk: quote ssid and passphrase
Diffstat (limited to 'daily-psk.wifi.rsc')
-rw-r--r-- | daily-psk.wifi.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daily-psk.wifi.rsc b/daily-psk.wifi.rsc index 9c28e9c..c1f7133 100644 --- a/daily-psk.wifi.rsc +++ b/daily-psk.wifi.rsc @@ -69,7 +69,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 . "')"); /interface/wifi/access-list/set $AccList passphrase=$NewPsk; :if ([ $RequiredRouterOS $ScriptName "7.15beta8" false ] = false || [ :len [ /interface/wifi/find where configuration.ssid=$Ssid !disabled ] ] > 0) do={ |