summaryrefslogtreecommitdiff
path: root/recipes/sgalib/sga-init.bb
blob: d0bd1f8cbc7322e70671f269613af82ce069f843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Simple Nomadik SGA Init Script"
LICENSE = "ST"
SECTION = "x11"
PRIORITY = "optional"
PR = "r1"

SRC_URI = "file://sga-init"
S = ${WORKDIR}

PACKAGE_ARCH = "all"

FILES_${PN}= "${sysconfdir}"

do_install() {
    install -d ${D}/${sysconfdir}/init.d
    install -m 0755 ${WORKDIR}/sga-init ${D}/${sysconfdir}/init.d
}

inherit update-rc.d

INITSCRIPT_NAME = "sga-init"
INITSCRIPT_PARAMS = "start 30 5 2 ."