Hello.
hEX RB7350Gr3
I got problem with running script at startup.
if netwatch is enabled before shutdown, netwatch starts to execute interface-down script so fast that it even cancels startup double-beep with its own scripted beeping ;D
I am trying to delay netwatch by disabling it in scheduler script.
[geexmmo@Test_hEX] > /system scheduler print detail
Flags: X - disabled
0 ;;; Delaying netwatch
name="netwarch-delay" start-time=startup interval=0s on-event=netwarch-delay owner="geexmmo"
policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon run-count=1
2 ;;; delay netwatch because interface is not ready
name="netwarch-delay" owner="geexmmo"
policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon
last-started=nov/11/2017 10:02:04 run-count=5 source=
/tool netwatch
set [find comment="Default Netwatch"] disabled=yes
:log warning "+++++++++++++++++++++++Netwatch disabled at startup"
:delay 40s
/tool netwatch
set [find comment="Default Netwatch"] disabled=no
:log warning "++++++++++++++++++++++Netwatch enabled after 40s delay"
that doesn’t really help, in system log i can see that netwatch is disabled in the beginning of the log (my ‘log warning’ shows up), but somehow netwatch is still executing it’s script-down routine.
What could be the problem?