I hope I write my issue in right place
I have Mikrotik RB2011 v6.43.7 with LCD display and 2 WAN (Main + Backup) input. I need switch the LCD with the active WAN port (ether1 = main link , ether2= backup link)
I create this script in system scheduler
Code: Select all
if ([/ip route get 0 active] = true) do={/lcd interface display ether1-main} else={/lcd interface display ether2-backup}
The LCD won't switch, But when use the code on terminal the LCD changed and switch to ether2-backup without any problem !
Any one have idea what is the problem or how to fix that ?
I try use this code in scheduler but also facing same problem won't run script
Code: Select all
if ([/ip route get 0 active] = true) do={/system script run LCD-Main} else={/system script run LCD-Backup}