On Sun, 20 Jan 2019 at 17:33, Markus Wernig <pub...@wernig.net> wrote: > > Hi Andrej > > Thanks for the insight. > > On 1/20/19 4:59 PM, Andrej Shadura wrote: > > > The reason why I’m against applying your patch is that I would like to > > get rid of DAEMON_CONF because it’s difficult to support properly. > > That appears to be true only in a systemd world. > > > Ideally, hostapd.service would only run hostapd with > > /etc/hostapd/hostapd.conf (unless overridden), and hostapd@ would use > > config files from /etc/hostapd/ with corresponding names. > > This would mean that multiple instances of hostapd would have to be run, > which is not necessary, as the daemon can handle multiple cards.
In that case, an override file can do exactly what you want to achieve. -- Cheers, Andrej