mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-05 10:45:04 +02:00
daily-psk: quote ssid and passphrase
This commit is contained in:
parent
169c1ab6e1
commit
787ae4440c
4 changed files with 4 additions and 4 deletions
|
@ -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 . "')");
|
||||
/caps-man/access-list/set $AccList private-passphrase=$NewPsk;
|
||||
|
||||
:if ([ :len [ /caps-man/actual-interface-configuration/find where configuration.ssid=$Ssid !disabled ] ] > 0) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue