aboutsummaryrefslogtreecommitdiffstats
path: root/accesslist-duplicates.local
diff options
context:
space:
mode:
Diffstat (limited to 'accesslist-duplicates.local')
-rw-r--r--accesslist-duplicates.local6
1 files changed, 3 insertions, 3 deletions
diff --git a/accesslist-duplicates.local b/accesslist-duplicates.local
index cf14c3d..94b6b18 100644
--- a/accesslist-duplicates.local
+++ b/accesslist-duplicates.local
@@ -21,9 +21,9 @@
/ interface wireless access-list print where mac-address=$Mac;
:set Shown ($Shown, $Mac);
- :put "\nEnter to skip, numeric id to remove!";
- :local Remove [ :return ];
- :if ($Remove != "") do={
+ :put "\nNumeric id to remove, any key to skip!";
+ :local Remove ([ :terminal inkey ] - 48);
+ :if ($Remove >= 0 && $Remove <= 9) do={
:put ("Removing numeric id " . $Remove . "...\n");
/ interface wireless access-list remove $Remove;
}