mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
lease-script: modify the tag
This commit is contained in:
parent
c5d49b37f3
commit
623fd707c4
9 changed files with 10 additions and 10 deletions
|
@ -6,7 +6,7 @@
|
|||
# collect wireless mac adresses in access list
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/collect-wireless-mac.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script, assign
|
||||
#
|
||||
# !! Do not edit this file, it is generated from template!
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# collect wireless mac adresses in access list
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/collect-wireless-mac.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script, assign
|
||||
#
|
||||
# !! Do not edit this file, it is generated from template!
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# collect wireless mac adresses in access list
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/collect-wireless-mac.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script, assign
|
||||
#
|
||||
# !! This is just a template! Replace '%PATH%' with 'caps-man'
|
||||
# !! or 'interface wireless'!
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (c) 2013-2021 Christian Hesse <mail@eworm.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script, assign
|
||||
#
|
||||
# update dhcp-server lease comment with infos from access-list
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/dhcp-lease-comment.md
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (c) 2013-2021 Christian Hesse <mail@eworm.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script, assign
|
||||
#
|
||||
# update dhcp-server lease comment with infos from access-list
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/dhcp-lease-comment.md
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (c) 2013-2021 Christian Hesse <mail@eworm.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script, assign
|
||||
#
|
||||
# update dhcp-server lease comment with infos from access-list
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/dhcp-lease-comment.md
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
# Copyright (c) 2013-2021 Christian Hesse <mail@eworm.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script deassign
|
||||
# provides: lease-script, assign
|
||||
# provides: lease-script, deassign
|
||||
#
|
||||
# check DHCP leases and add/remove/update DNS entries
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/dhcp-to-dns.md
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (c) 2021 Christian Hesse <mail@eworm.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# provides: lease-script assign
|
||||
# provides: lease-script, assign
|
||||
#
|
||||
# manage and clean up private WPA passphrase after hotspot login
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/hotspot-to-wpa.md
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
$LogPrintExit2 debug $0 ("DHCP Server " . $leaseServerName . " " . \
|
||||
$State . "ed lease " . $leaseActIP . " to " . $leaseActMAC) false;
|
||||
|
||||
:foreach Script in=[ / system script find where source~("\n# provides: lease-script " . $State . "\n") ] do={
|
||||
:foreach Script in=[ / system script find where source~("\n# provides: lease-script, " . $State . "\n") ] do={
|
||||
:local ScriptName [ / system script get $Script name ];
|
||||
:if ([ :len [ / system script job find where script=$ScriptName ] ] < 2) do={
|
||||
:do {
|
||||
|
|
Loading…
Reference in a new issue