[FS#3663] Reset button performs factory reset on touch on MR200v1

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Mar 4 20:23:56 GMT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Peter Babič (peterbabic) 

Attached to Project - OpenWrt/LEDE Project
Summary - Reset button performs factory reset on touch on MR200v1
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-19.07
Due in Version - Undecided
Due Date - Undecided
Details - Using TP-link MR200v1 with OpenWrt 19.07.6, r11278-8055e38794 without any modifications, just a slight touch on a reset button performs a factory reset. It is caused by this line https://github.com/openwrt/openwrt/blob/1d412235a57f3359d1c7bb63bfebce50c56caee6/package/base-files/files/etc/rc.button/reset#L26

Commenting it out and calling `reload_config` resolves the issue. However, if I lose LUCI and SSH access, I can not factory reset the router.

If I understand the script correctly, factory reset should only be performed if the button is pressed for longer than 5 seconds.

For me, it is hard to debug - I can not simply run the script to print what it sees, specifically ACTION and SEEN variables, because it is coupled to the button presses.

Where is the proper place to get help, please?

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3663

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list