corrections de différents bugs de fonctionnement et configuration

This commit is contained in:
2022-12-19 19:44:35 +01:00
parent 93d7f3fb2b
commit e0b5b425ed
11 changed files with 139 additions and 21 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
After=network.target
[Service]
Type=forking
PIDFile=/run/hostapd.pid
ExecStart=/usr/sbin/hostapd /etc/hostapd.conf -P /run/hostapd.pid -B
[Install]
WantedBy=multi-user.target
@@ -2,12 +2,14 @@
# Release under the MIT license (see COPYING.MIT for the terms)
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://hostapd.conf"
SRC_URI += " \
file://hostapd.conf \
"
inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"
SYSTEMD_SERVICE:${PN} = "hostapd.service"
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
do_install:append() {
install -d ${D}${sysconfdir}/
install -m 0644 ${WORKDIR}/hostapd.conf ${D}${sysconfdir}/
}