1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
DESCRIPTION = "modutils configuration files" SRC_URI = "file://modutils.sh" PR = "r1" INITSCRIPT_NAME = "modutils.sh" INITSCRIPT_PARAMS = "start 20 S ." inherit update-rc.d do_compile () { } do_install () { install -d ${D}/etc/init.d/ install -m 0755 ${WORKDIR}/modutils.sh ${D}/etc/init.d/ }