Watchcat executing scripts

My question is when watchcat gets triggered, can I make it run my own script?

I have a MT300N-V2 and it has a hardware switch on its side i use to load a profile. The switch is either on switch-on and switch-off and I already wrote the script to detect where the switch currently is and use software to switch it to the alternate profile. I just need watchcat to load my script to switch the alternate profile (upon reboot it defaults back to whatever mode the hardware switch is on automatically.)


1 Like

watchcat has just been updated in snapshot to support running a script. as of this time luci-app-watchcat hasn't been updated to support this so you need to use the cli to configure it