I've done a fair bit of googling but I can't seem to find a solid answer.
I want to add a switch to my Pi3b and Pi zero that turns the wifi on and off, similar to what was on older style laptops.
My pi runs headless and I'd like the ability to connect to it without it broadcasting a wifi network all the time
Can this be done with a dt-overlay style command?
All the articles and sites I find talk about permanently disabling wifi, I just need to be able to toggle it.