meta-digi/meta-digi-dey/recipes-connectivity/hostapd
Hector Palacios 2dcf33b283 hostapd: parametrize hostapd init script per interface
The original init script hardcodes the configuration file to use so it
cannot be re-utilized for concurrent AP/AP mode where two interfaces can
be used as SoftAP.

This commit uses the variable ${IFACE} to:
- select a specific configuration file per interface:
  /etc/hostapd_${IFACE}.conf
- create a specific PID file per interface:
  /var/run/hostapd.${IFACE}.pid

With this, the /etc/network/interfaces can use the script for using SoftAP
in different wireless interfaces.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2017-04-05 18:15:27 +02:00
..
hostapd hostapd: parametrize hostapd init script per interface 2017-04-05 18:15:27 +02:00
hostapd_%.bbappend hostapd: parametrize hostapd init script per interface 2017-04-05 18:15:27 +02:00