first, you need to name the STA configure in wireless as “sta” in /etc/config/wireless

Second, I suggest not to use continuous numbers in timing. For example, you can use a larger number than 5 to revert to factory settings. As you will have trouble to count the exact number of seconds and made some mistake.