Ar750S slate mode switch for toggling between access point and router

I have a gl-AR750s slate and im trying to use the toggle switch on the side of the unit to toggle between router mode and access point mode.
Is there any way to do that through the openwrt settings?


You can set up the router as AP mode or Router mode on webUI.

The slide switch is used for VPN toggle now. If you want to use it, you should modify the shell script by yourself.