aboutsummaryrefslogtreecommitdiffstats
path: root/accesslist-duplicates.wifiwave2.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-05 11:04:20 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 15:27:15 +0100
commit9ecc3c4c49cd1113e2444116e2f7ab859e5193fa (patch)
tree07edb422748b9f43f7817de8e345a7a8ed3a51af /accesslist-duplicates.wifiwave2.rsc
parentd799edfc17cb50b0949c6bcd3d3de8fba9914c54 (diff)
accesslist-duplicates: drop support for wifiwave2
Diffstat (limited to 'accesslist-duplicates.wifiwave2.rsc')
-rw-r--r--accesslist-duplicates.wifiwave2.rsc36
1 files changed, 0 insertions, 36 deletions
diff --git a/accesslist-duplicates.wifiwave2.rsc b/accesslist-duplicates.wifiwave2.rsc
deleted file mode 100644
index 232d941..0000000
--- a/accesslist-duplicates.wifiwave2.rsc
+++ /dev/null
@@ -1,36 +0,0 @@
-#!rsc by RouterOS
-# RouterOS script: accesslist-duplicates.wifiwave2
-# Copyright (c) 2018-2024 Christian Hesse <mail@eworm.de>
-# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
-#
-# requires RouterOS, version=7.12
-#
-# print duplicate antries in wireless access list
-# https://git.eworm.de/cgit/routeros-scripts/about/doc/accesslist-duplicates.md
-#
-# !! Do not edit this file, it is generated from template!
-
-:global GlobalFunctionsReady;
-:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
-
-:local Main do={
- :local ScriptName [ :tostr $1 ];
-
- :local Seen ({});
-
- :foreach AccList in=[ /interface/wifiwave2/access-list/find where mac-address!="00:00:00:00:00:00" ] do={
- :local Mac [ /interface/wifiwave2/access-list/get $AccList mac-address ];
- :if ($Seen->$Mac = 1) do={
- /interface/wifiwave2/access-list/print where mac-address=$Mac;
- :local Remove [ :tonum [ /terminal/ask prompt="\nNumeric id to remove, any key to skip!" ] ];
-
- :if ([ :typeof $Remove ] = "num") do={
- :put ("Removing numeric id " . $Remove . "...\n");
- /interface/wifiwave2/access-list/remove $Remove;
- }
- }
- :set ($Seen->$Mac) 1;
- }
-}
-
-$Main [ :jobname ];