M7350/oe-core/meta/recipes-bsp/usbinit/usbinit.bb

22 lines
507 B
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
SUMMARY = "Initscript for enabling USB gadget Ethernet"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
LICENSE = "GPLv2"
2024-09-09 08:52:07 +00:00
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
2024-09-09 08:57:42 +00:00
PR = "r3"
2024-09-09 08:52:07 +00:00
SRC_URI = "file://usb-gether \
file://COPYING.GPL"
S = "${WORKDIR}"
do_install() {
2024-09-09 08:57:42 +00:00
install -d ${D}${sysconfdir}
install -d ${D}${sysconfdir}/init.d
install usb-gether ${D}${sysconfdir}/init.d
2024-09-09 08:52:07 +00:00
}
inherit update-rc.d allarch
INITSCRIPT_NAME = "usb-gether"
INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."