blob: aba44b4068486b9d31cad2efe30b34e7039c179c [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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 ."