summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbinit/usbinit.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/usbinit/usbinit.bb')
-rw-r--r--meta/recipes-bsp/usbinit/usbinit.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbinit/usbinit.bb b/meta/recipes-bsp/usbinit/usbinit.bb
new file mode 100644
index 0000000..aba44b4
--- /dev/null
+++ b/meta/recipes-bsp/usbinit/usbinit.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Initscript for enabling USB gadget Ethernet"
2
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
5
6PR = "r3"
7
8SRC_URI = "file://usb-gether \
9 file://COPYING.GPL"
10S = "${WORKDIR}"
11
12do_install() {
13 install -d ${D}${sysconfdir}
14 install -d ${D}${sysconfdir}/init.d
15 install usb-gether ${D}${sysconfdir}/init.d
16}
17
18inherit update-rc.d allarch
19
20INITSCRIPT_NAME = "usb-gether"
21INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."