meta-digi/meta-digi-dey/recipes-connectivity
Hector Palacios 505eb19aa4 hostapd: let start-stop-daemon create PID and background process
The current script cannot launch the hostapd twice (for dual HostAP mode)
because start-stop-daemon finds an already existing PID for hostapd after
running the first instance.

The solution is:
 - Do not launch the hostapd in background (so that it does not fork the
   process, which assigns a different PID)
 - Use -b option of start-stop-daemon so that it launches the daemon in
   the background.
 - Let start-stop-daemon create the PID (since the hostapd will not fork
   now this PID will match the hostapd process, allowing to kill it later)

This solution also hides the hostapd log messages that appeared before.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-4045
2017-04-07 12:28:14 +02:00
..
bluez bluetooth-init: force hardware-init script to be executed first 2017-03-30 18:02:13 +02:00
btfilter recipes-connectivity: Splited bluez and btfilter support in two different init scripts 2015-11-11 19:54:08 +01:00
cherokee meta-digi-dey: update Digi logo used by webservers 2015-11-06 16:20:35 +01:00
hostapd hostapd: let start-stop-daemon create PID and background process 2017-04-07 12:28:14 +02:00
libmbim meta-digi-dey: add libmbim runtime dependency 2017-03-10 16:24:45 +01:00
libqmi meta-digi-dey: Added libqmi patch to DMS version miss match. 2017-03-16 12:55:19 +01:00
modemmanager meta-digi-dey: support for old FWs of Telit HE910 2017-03-20 19:37:54 +01:00
openssl openssl: update cryptodev engine implementation 2016-05-27 16:10:36 +02:00
packagegroups meta-digi-dey: fix bluetooth interface initialization 2017-03-13 11:20:13 +01:00
ppp ppp: add pppd config file for cellular devices 2015-11-12 16:48:50 +01:00
vsftpd meta-digi: use recommended BP and BPN variables for FILESEXTRAPATHS 2015-03-13 18:43:12 +01:00
wpa-supplicant meta-digi-dey: wpa-supplicant: Add commented out sched_scan_interval. 2017-02-13 11:15:18 +01:00