developer | b9a1033 | 2022-08-22 16:58:20 +0800 | [diff] [blame] | 1 | SUMMARY = "Init filogic " |
| 2 | SECTION = "applications" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 5 | |
| 6 | S = "${WORKDIR}" |
| 7 | inherit systemd |
| 8 | |
| 9 | SRC_URI = " \ |
| 10 | file://COPYING \ |
| 11 | file://MACSec.sh \ |
| 12 | file://MACSec.service \ |
| 13 | " |
| 14 | |
| 15 | SYSTEMD_PACKAGES = "${PN}" |
| 16 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" |
| 17 | SYSTEMD_SERVICE_${PN} = " MACSec.service" |
| 18 | FILES_${PN} += "{systemd_unitdir}/system/MACSec.service" |
| 19 | |
| 20 | do_install() { |
| 21 | install -d ${D}${sbindir} |
| 22 | install -m 0755 ${WORKDIR}/MACSec.sh ${D}${sbindir} |
| 23 | install -d ${D}${systemd_unitdir}/system/ |
| 24 | install -m 0644 ${S}/MACSec.service ${D}${systemd_unitdir}/system |
| 25 | } |