Sie sind auf Seite 1von 1

{

:local voucher $user;


:if ([/ip hotspot user find name=$voucher limit-uptime=9h]="") do={/ip hotspot user
set [find name=$voucher] limit-uptime=9h};
:if ([/system schedule find name=$voucher]="") do={/system schedule add
name=$voucher interval=9h on-event="/ip hotspot active remove [find
user=$voucher]\r\n/ip hotspot user set limit-uptime=5s [find name=$voucher]\r\n/ip
hotspot user remove [find name=$voucher]\r\n/system schedule remove [find
name=$voucher]"}
}

Das könnte Ihnen auch gefallen