I use for some testing Raspberry Pis (Stretch) working as WiFi access points. Because i want to work with one global config file on many RPis i split hostapd.conf
in 2 parts:
hostapd.conf.global
- that describes almost all parameters of my wifi access point.hostpad.conf.local
- where SSID for particular RPi is saved.
Is it possible to join these 2 config files and send it as one to hostapd?
What i've tried, is to send:
cat hostapd.conf.global hostapd.conf.local | hostapd -dd
(pipeline command)
but as a result i get then help for hostapd.
I've tried also
cat hostapd.conf.global hostapd.conf.local > hostapd.conf && sudo hostapd -dd hostapd.conf
and this works but isn't the pipeline command equivalent of this?
Is my understanding of pipelining totally wrong?