Hello,
I want to make a script that check my ppp-out status
sometime we chagne the name from ppp-out1 to SIM1
so I want to write a script that check both of them ( I don’t know what is the name in the interface)
so I thought to do this:
:if ([/interface get [find where name=SIM1] running] = true) do={:/system script run OK} else={:/system script run NotOK};
but I get styck - he said “no such interface”
wouldn’t it work ?
becasue I’m searching the name SIM1 and if he doesn’t found it he ignore this command?
Thanks ,