Hello everyone, I need to modify this script in mikrotik language using global variables:
var bool ConnWasUp == false;
while true;
if (ConnWasUp = true) then
if (connection down) then reboot;
sleep 2;
if (connection up) then ConnWasUp == True
Thanks very much