misc scripts for making hostapd less painful