Here is my script:
:local i 0; {:do {:set i ($i + 1)} while (($i < 2) && ([/ping domain.com interval=1 count=1]=0))};
:if ($i=2) do={:log info "Main AP Down";
/interface disable ether5}
:foreach i in=[/log find where message~"device changed"] do={
/tool sms send usb1 "XXXXXXXXX" \ message="WARNING"
}
Just for Beeline.All other (i.e. NORMAL) ISPs use PPPoE or IPoE.*) pptp, l2tp, sstp - allow to specify server via dns name;
This is very very important small feature for my region - lets say goodbye to some significant scripting