Hello,
In regards to hotspot profile "on-login" scripting - is it possible to do conditional redirecting the user after login?
I.e. to replace $(link-orig) with a different location?
For example:
:if ([:typeof $hasmac]="nil") do={
:if ($m ~ "^[0-9A-Fa-f][048Cc]") do={
/ip hotspot user set $voucher mac-address=$m;
} else={
# Redirect the user to /instructions-disable-randomized-mac.html hosted locally <-------
:log info "User: $voucher has RANDOMIZED MAC: $m"
}
}