corrections de différents bugs de fonctionnement et configuration
This commit is contained in:
@@ -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}/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user