I think the /usr/local/sbin/resetpressed template was added after 126.96.36.199-7f (2006-11-06).
CDMA@wifi - History of versions
and in 188.8.131.52-7g (2007-04-06)184.108.40.206-7f-USB-1.64
/usr/local/sbin/resetpressed script is executed when pressing reset button and releasing when PWR light is off
The /usr/local/sbin/resetpressed template doesn't work on WL-HDD because holding reset button will actually "power off" WL-HDD. Besides, if it takes at least 3 seconds to activate /usr/local/sbin/ez-setup, it would be very difficult to activate resetpressed without powering off WL-HDD.23. Disabled "power off" for all units except WL-HDD
24. Pressing EZ SETUP button for 3 seconds would cause /usr/local/sbin/ez-setup to be executed
I'd like to write some scripts and use reset button as wifi toggle on my WL-HDD because there's no other buttons. What can I do to prevent reset button from powering off WL-HDD? Does the /usr/local/sbin/resetpressed template work on WL-HDD? Is it possible to check whether the reset button being pressed or released?
Thanks in advance.