mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-04 02:04:56 +02:00
global-functions: drop $Read, use :return directly
This commit is contained in:
parent
5f7c727457
commit
04025da9b8
4 changed files with 3 additions and 14 deletions
|
@ -7,8 +7,6 @@
|
|||
# !! This is just a template! Replace '%PATH%' with 'caps-man'
|
||||
# !! or 'interface wireless'!
|
||||
|
||||
:global Read;
|
||||
|
||||
:local Seen [ :toarray "" ];
|
||||
:local Shown [ :toarray "" ];
|
||||
|
||||
|
@ -25,7 +23,7 @@
|
|||
:set Shown ($Shown, $Mac);
|
||||
|
||||
:put "\nEnter to skip, numeric id to remove!";
|
||||
:local Remove [ $Read ];
|
||||
:local Remove [ :return ];
|
||||
:if ($Remove != "") do={
|
||||
:put ("Removing numeric id " . $Remove . "...\n");
|
||||
/ %PATH% access-list remove $Remove;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue