:local id
:local i
:local a
:local x
set x 2
:for a from=1 to=$x step=1 do={
t id [/interface get [/interface find name="pppoe-out".$a ] running]
:if ($id = false) do{
:for i from=1 to=6 step=1 do={
:beep frequency=550 length=494ms;
:delay 494ms;
:beep frequency=400 length=494ms;
:delay 494ms;
}
}
}
:local id
:local i
:local a
:local x
set x 2
:for a from=1 to=$x step=1 do={
t id [/interface get [/interface find name="pppoe-out".$a ] running]
:if ($id = false) do{
:for i from=1 to=6 step=1 do={
:beep frequency=550 length=494ms;
:delay 494ms;
:beep frequency=400 length=494ms;
:delay 494ms;
}
}
}