mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 10:14:31 +02:00
daily-psk: adopt syntax changes
RouterOS 7.15beta8 came with this change:
*) wifi - show inherited properties with "print" command (replaces "actual-configuration") and added "print config" for showing only configured values;
While the old code is bad syntax with RouterOS 7.15, the new code is
valid for older RouterOS, but produces different (and more or less
unexpected) results. 🥴
Let's use the new code, and add a check on the RouterOS version.
With old RouterOS this now sends the notification even if the interface
is disabled.
This commit is contained in:
parent
545fb5583a
commit
ca7a592dfd
4 changed files with 6 additions and 2 deletions
|
@ -23,6 +23,7 @@
|
|||
|
||||
:global FormatLine;
|
||||
:global LogPrint;
|
||||
:global RequiredRouterOS;
|
||||
:global ScriptLock;
|
||||
:global SendNotification2;
|
||||
:global SymbolForNotification;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue