hostapd: fix incorrect service name
authorDavid Bauer <mail@david-bauer.net>
Fri, 31 Jul 2020 17:51:51 +0000 (19:51 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 31 Jul 2020 17:51:51 +0000 (19:51 +0200)
commit8b3e170526cf0f1d9b15a6dd7787789d15e52cd4
treeb9c71487d22d7203efd0ccab133281a1075efe60
parent9e02580d52ef6f2ee1eb38ae4e5977bb6002a552
hostapd: fix incorrect service name

When retrieving the PID for hostapd and wpa_supplicant via ubus the
wrong service name is currently used. This leads to the following error
in the log:

netifd: radio0 (1409): WARNING (wireless_add_process):
executable path /usr/sbin/wpad does not match process  path (/proc/exe)

Fixing the service name retrieves the correct PID and therefore the
warning won't occur.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/network/services/hostapd/files/hostapd.sh