summaryrefslogtreecommitdiff
path: root/packages/dropbear/dropbear-early_1.0.bb
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-02 15:22:08 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-02 15:22:08 +0000
commitaaae6121b5a52c406595df87540878fef16d287d (patch)
tree3b1ed2dd23843fe19eb9eec07204782919113648 /packages/dropbear/dropbear-early_1.0.bb
parent30bc4e53dddce6b761f1907823d2b5c830e5114c (diff)
dropbear-early: Package which allows to start dropbear ASAP after the kernel boot.
* Note: *allows*, not starts. To do that, "dropbear=early" should be passed on kernel command line.
Diffstat (limited to 'packages/dropbear/dropbear-early_1.0.bb')
-rw-r--r--packages/dropbear/dropbear-early_1.0.bb17
1 files changed, 17 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..651d1327ca
--- /dev/null
+++ b/packages/dropbear/dropbear-early_1.0.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Allow to start dropbear soon after boot, depending on kernel command line option."
+SECTION = "devel"
+PR = "r1"
+
+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 ."