Boa tarde , alguem sabe se o script de importar ppoe esta funcionando na MK-AUTH 24.05 :: TUX 4.19
coloco o script da pagina de ramais mas sempre da erro log
/system scheduler add interval=45m name=ler_pppoe on-event=":execute script=ler_pppoe;"/system script add name=ler_pppoe source="#===============================\r\ \n:global IPMKAUTH \"xxxxxxxxxxxxxxx\"; \r\ \n:global USER \"User_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"; \r\ \n:global PASS \"Pass_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"; \r\ \n:global done \"\";\r\ \n/tool fetch user=\$USER password=\$PASS url=\"https://\$IPMKAUTH/mkt/pppoe\" dst-path=mkt_pppoe.rsc;\r\ \n:set done \"true\";\r\ \n\r\ \n:if ( [/file find name=mkt_pppoe.rsc] != \"\" ) do={\r\ \n :log warning \"Importando PPPoE\";\r\ \n /import mkt_pppoe.rsc;\r\ \n /file remove mkt_pppoe.rsc;\r\ \n}\r\ \n"
Respostas
Boa noite, me chama no WhatsApp (16)988778656