disable "Login By Trial"

how can i disable and enable “Login By Trial” in hotspot server profile using a script

hello

peace be upon you

yes you can

use this script for enable trial time

 ip hotspot profile set login-by=http-chap,https,http-pap,mac-cookie,tria
l [find name=xxx]

and use this script for disable trial time

 ip hotspot profile set login-by=http-chap,https,http-pap,mac-cookie [find name=xxxxxx]

edit (xxxxxx) to your profile name and edit (login-by) and set any Choose the options that suit you