Could you please advise me what are my options for button scripts (both reset button and the slider) with both GL and vanilla editions of OpenWrt for MT300A and AR300M?
I need to write a script which will run when either reset and/or slider is toggled.
the reset script should always be /etc/rc.button/reset
The switch script should use different names according to the module. In our firmware, you will find these script already, which just echo some text to console.
Can someone write a script to set the boot count to 3 and 0 respectively with the other switch position and a reboot after setting the boot count… I’m not much for scripting.