Helper script for switching wifi AP on and off.