How do I turn a Wireless WPS key into a Wi-Fi key?

Hello to all friends
Sorry I have a problem and that is that my router BT Home Hub 5A does not have a dedicated button to turn Wi-Fi on and off. But it has a Wireless WPS button and I want to change its function to turn Wi-Fi on and off.
Does anyone have the code?
Which folder and which file should I change?
Please help me because I do not have programming knowledge. But I'm interested in learning.

My Router : BT Home Hub 5A
Openwrt Ver : 19.07.9

Probably /etc/rc.button/wps.

What code should be replaced?

1 Like