Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Initscript for enabling USB gadget Ethernet" |
Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame] | 2 | DESCRIPTION = "This module allows ethernet emulation over USB, allowing for \ |
| 3 | all sorts of nifty things like SSH and NFS in one go plus charging over the \ |
| 4 | same wire, at higher speeds than most Wifi connections." |
| 5 | HOMEPAGE = "http://linux-sunxi.org/USB_Gadget/Ethernet" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 6 | |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 7 | LICENSE = "GPL-2.0-only" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" |
| 9 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 10 | |
| 11 | SRC_URI = "file://usb-gether \ |
| 12 | file://COPYING.GPL" |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
| 16 | install -d ${D}${sysconfdir} |
| 17 | install -d ${D}${sysconfdir}/init.d |
| 18 | install usb-gether ${D}${sysconfdir}/init.d |
| 19 | } |
| 20 | |
| 21 | inherit update-rc.d allarch |
| 22 | |
| 23 | INITSCRIPT_NAME = "usb-gether" |
| 24 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." |