What are the two ways to restore the EC942 to factory settings?

What are the two ways to restore the EC942 to factory settings?

Method 1 (Command Line): Log in via SSH and run sudo update reset – the system will restart and restore defaults. Method 2 (Hardware Button): 1. Long-press the Reset button for 10–20 seconds until the WARN light stays on. 2. Release the button; the ERROR light will blink. 3. Wait for the system to restart – factory reset is complete when STATUS starts blinking (about 30 seconds).