| SUMMARY = "Init filogic " |
| SECTION = "applications" |
| LICENSE = "GPLv2" |
| LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| |
| S = "${WORKDIR}" |
| inherit systemd |
| |
| SRC_URI = " \ |
| file://COPYING \ |
| file://init-IPv6.sh \ |
| file://init-IPv6.service \ |
| file://init-bridge.sh \ |
| file://init-Lanbridge.service \ |
| file://factorydefault \ |
| file://init-PPPQ.service \ |
| file://usb-mount@.service \ |
| file://usb-mount.sh \ |
| file://99-local-usb-mount.rules\ |
| " |
| |
| RDEPENDS_${PN} += "bash" |
| |
| SYSTEMD_PACKAGES = "${PN}" |
| SYSTEMD_SERVICE_${PN} = " init-IPv6.service" |
| SYSTEMD_SERVICE_${PN} += " init-Lanbridge.service" |
| SYSTEMD_SERVICE_${PN} += " init-PPPQ.service" |
| SYSTEMD_SERVICE_${PN} += " usb-mount@.service" |
| FILES_${PN} += "{systemd_unitdir}/system/init-IPv6.service" |
| FILES_${PN} += "{systemd_unitdir}/system/init-Lanbridge.service" |
| FILES_${PN} += "{systemd_unitdir}/system/init-PPPQ.service" |
| FILES_${PN} += "{systemd_unitdir}/system/usb-mount@.service" |
| |
| do_install() { |
| install -d ${D}${sbindir} |
| install -m 0755 ${WORKDIR}/init-IPv6.sh ${D}${sbindir} |
| install -m 0755 ${WORKDIR}/init-bridge.sh ${D}${sbindir} |
| install -m 0755 ${WORKDIR}/factorydefault ${D}${sbindir} |
| install -d ${D}${systemd_unitdir}/system/ |
| install -m 0644 ${S}/init-IPv6.service ${D}${systemd_unitdir}/system |
| install -m 0644 ${S}/init-Lanbridge.service ${D}${systemd_unitdir}/system |
| install -m 0644 ${S}/init-PPPQ.service ${D}${systemd_unitdir}/system |
| install -m 0644 ${S}/usb-mount@.service ${D}${systemd_unitdir}/system |
| install -d ${D}${sysconfdir}/udev/rules.d |
| install -m 0644 ${WORKDIR}/99-local-usb-mount.rules ${D}${sysconfdir}/udev/rules.d |
| install -d ${D}${bindir} |
| install -m 0755 ${WORKDIR}/usb-mount.sh ${D}${bindir} |
| } |