![]() |
![]() |
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 ];
RouterOS Scripts documentation generated on Wed, 27 May 2026 09:15:34 +0200 for next/3531/b00a213e
Copyright © 2013-2026 Christian Hesse <mail@eworm.de>