summaryrefslogtreecommitdiff
path: root/recipes/dropbear/dropbear-early_1.0.bb
blob: 2042400b8bde919847fd257b47f73843c92a5f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "Allow to start dropbear soon after boot, depending on kernel command line option."
SECTION = "devel"
RDEPENDS_${PN} = "dropbear"
PR = "r3"

SRC_URI = "file://dropbear-early"

inherit update-rc.d

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

PACKAGE_ARCH = "all"

INITSCRIPT_NAME = "dropbear-early"
INITSCRIPT_PARAMS = "start 00 S ."