diff options
Diffstat (limited to 'meta/recipes-bsp/usbinit/usbinit.bb')
| -rw-r--r-- | meta/recipes-bsp/usbinit/usbinit.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbinit/usbinit.bb b/meta/recipes-bsp/usbinit/usbinit.bb new file mode 100644 index 0000000000..1d4575bddb --- /dev/null +++ b/meta/recipes-bsp/usbinit/usbinit.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | DESCRIPTION = "Initscript to manage gadget Ethernet" | ||
| 2 | LICENSE = "GPL" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | PR = "r1" | ||
| 5 | |||
| 6 | SRC_URI = "file://usb-gether" | ||
| 7 | S = "${WORKDIR}" | ||
| 8 | |||
| 9 | do_install() { | ||
| 10 | install -d ${D}/etc | ||
| 11 | install -d ${D}/etc/init.d | ||
| 12 | install usb-gether ${D}/etc/init.d | ||
| 13 | } | ||
| 14 | |||
| 15 | inherit update-rc.d | ||
| 16 | |||
| 17 | INITSCRIPT_NAME = "usb-gether" | ||
| 18 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." | ||
