ajout de l'attribut SYSTEMD_SERVICE pour activer le service à l'installation

This commit is contained in:
2022-12-15 11:37:47 +01:00
parent a4230cef9c
commit 6a05360654

View File

@@ -6,6 +6,7 @@ SRC_URI += "file://hostapd.conf"
inherit systemd
SYSTEMD_AUTO_ENABLE = "enable"
SYSTEMD_SERVICE:${PN} = "hostapd.service"
do_install:append() {
install -m 0644 ${WORKDIR}/hostapd.conf ${D}${sysconfdir}/