summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-multimedia/mm-init/mm-init.bb
blob: 3781a7650cbd0fb12206c3717d88b8f0e9109fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUMMARY = "Startup script for Renesas MM modules"
LICENSE = "CLOSED"

SRC_URI = "file://init"

S = "${WORKDIR}"

do_install() {
	install -d ${D}/${sysconfdir}/init.d
	install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/rc.mm
}

inherit allarch update-rc.d

INITSCRIPT_NAME = "rc.mm"
INITSCRIPT_PARAMS = "start 8 5 2 . stop 21 0 1 6 ."