mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
lease-script: line breaks for array
This commit is contained in:
parent
0896d81bb0
commit
7e9252064e
1 changed files with 7 additions and 3 deletions
10
lease-script
10
lease-script
|
@ -5,9 +5,13 @@
|
||||||
# run scripts on DHCP lease
|
# run scripts on DHCP lease
|
||||||
# ( / ip dhcp-server set lease-script=lease-script [ find ] )
|
# ( / ip dhcp-server set lease-script=lease-script [ find ] )
|
||||||
|
|
||||||
:local scripts { "dhcp-to-dns";
|
:local scripts {
|
||||||
"collect-wireless-mac.local"; "dhcp-lease-comment.local";
|
"dhcp-to-dns";
|
||||||
"collect-wireless-mac.capsman"; "dhcp-lease-comment.capsman" };
|
"collect-wireless-mac.local";
|
||||||
|
"dhcp-lease-comment.local";
|
||||||
|
"collect-wireless-mac.capsman";
|
||||||
|
"dhcp-lease-comment.capsman"
|
||||||
|
}
|
||||||
|
|
||||||
# delay a second to give time to update the lease table
|
# delay a second to give time to update the lease table
|
||||||
:delay 1s;
|
:delay 1s;
|
||||||
|
|
Loading…
Reference in a new issue