summaryrefslogtreecommitdiff
path: root/packages/dropbear/dropbear-early_1.0.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-23 10:50:30 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-23 10:50:30 +0000
commite49ed8da00b7a5d874fd92a806c6b036a726069c (patch)
tree4c2986b1f377b0363e6637cc792e8e553c2b39a4 /packages/dropbear/dropbear-early_1.0.bb
parent95580064683ef83263017dce9b610c74306348bb (diff)
parenta5ab4c1e92a80b977b53072b349e05ab0f097dd1 (diff)
merge of '6765ce1f621a9ef917ba1521afc7b81013e14dc2'
and 'fcc520f13c2e5df6e6b7d52dcbfb32cb1750c941'
Diffstat (limited to 'packages/dropbear/dropbear-early_1.0.bb')
-rw-r--r--packages/dropbear/dropbear-early_1.0.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/dropbear/dropbear-early_1.0.bb b/packages/dropbear/dropbear-early_1.0.bb
new file mode 100644
index 0000000000..df2c2dc26f
--- /dev/null
+++ b/packages/dropbear/dropbear-early_1.0.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Allow to start dropbear soon after boot, depending on kernel command line option."
+SECTION = "devel"
+PR = "r2"
+RDEPENDS = "dropbear"
+
+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 ."