usbinit.bb 507 B

123456789101112131415161718192021
  1. SUMMARY = "Initscript for enabling USB gadget Ethernet"
  2. LICENSE = "GPLv2"
  3. LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
  4. PR = "r3"
  5. SRC_URI = "file://usb-gether \
  6. file://COPYING.GPL"
  7. S = "${WORKDIR}"
  8. do_install() {
  9. install -d ${D}${sysconfdir}
  10. install -d ${D}${sysconfdir}/init.d
  11. install usb-gether ${D}${sysconfdir}/init.d
  12. }
  13. inherit update-rc.d allarch
  14. INITSCRIPT_NAME = "usb-gether"
  15. INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."