As mentioned during the discussion at #498, support for launching hostapd inside an interface block would be desirable.
The syntax could be as follow:
interface wlp3s1
hostapd /etc/hostapd/wlp3s1.conf
static ip_address=192.168.1.1/24
What dhcpcd would send out as a command line:
hostapd -B -P /run/hostapd.wlp3s1.pid /etc/hostapd/wlp3s1.conf
This would get us one step closer to deprecating ifupdown.