![]() |
![]() |
RouterOS Scripts a collection of scripts for MikroTik RouterOS |
ℹ️ Info: This script can not be used on its own but requires the base installation. See main README for details.
This script is supposed to run from IPv4 DHCP server as lease script. On a
DHCP lease it runs each script containing the following line, where ## is
a decimal number for ordering:
# provides: dhcpv4-server-lease, order=##
Currently it runs if available, in order:
hotspot-to-wpa-cleanup, which is an optional cleanup script
of hotspot-to-wpaJust install the script:
$ScriptInstallUpdate dhcpv4-server-lease;
… and add it as lease-script to your dhcp server:
/ip/dhcp-server/set lease-script="dhcpv4-server-lease" [ find ];
⬅️ Go back to main README
⬆️ Go back to top
RouterOS Scripts documentation generated on Thu, 14 May 2026 23:02:49 +0200 for main/3478/d586205a
Copyright © 2013-2026 Christian Hesse <mail@eworm.de>