Switch between access point and WiFi client for the Raspberry Pi using a switch