When the On Login script fires when a user logs in the hotspot, is the username passed to the script in any kind of environment variable?
How can I grab the username of the user who fired the On Login script pls?
thx
Jon
When the On Login script fires when a user logs in the hotspot, is the username passed to the script in any kind of environment variable?
How can I grab the username of the user who fired the On Login script pls?
thx
Jon
I would also like to know this.
Here is what jonmansey came up with:
/ system script add name=queue_move source={
:foreach i in=[/queue simple find dynamic=yes ] do={
/queue simple move $i
}
}
then
/ ip hotspot user profile
set default name="default" idle-timeout=none keepalive-timeout=2m status-autorefresh=1m shared-users=1 on-login=queue_move transparent-proxy=no