mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-06 03:04:43 +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
|
@ -68,7 +68,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/wireless/access-list/set $AccList private-pre-shared-key=$NewPsk;
|
||||
|
||||
:if ([ :len [ /interface/wireless/find where name=$IntName !disabled ] ] = 1) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue