How can I connect to the User Interface identify the script by Hotspot?
What’s wrong with this script?
/ip hotspot user profile
set [ find default=yes ] idle-timeout=15m on-login=
“:ip route add dst-address=$address gateway=$interface;\r
\n:log info "add user route completed";\r
\n” on-logout=“:local userip;\r
\n:set userip "$address/32";\r
\n:ip route remove numbers=[/ip route find dst-address=$userip gateway=$interface];\r
\n:log info "remove user route completed";” shared-users=10
User interface connected to Hotspot does not recognize, but when I do it makes me want to specify the interface automatically detects the interface anymore.