etc/hostapd/ifupdown.sh /etc/network/if-pre-up.d/hostapd etc/hostapd/ifupdown.sh /etc/network/if-post-down.d/hostapd