diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-02 15:22:08 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-02 15:22:08 +0000 |
commit | aaae6121b5a52c406595df87540878fef16d287d (patch) | |
tree | 3b1ed2dd23843fe19eb9eec07204782919113648 /packages/dropbear/dropbear-early | |
parent | 30bc4e53dddce6b761f1907823d2b5c830e5114c (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')
-rw-r--r-- | packages/dropbear/dropbear-early/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/dropbear/dropbear-early/dropbear-early | 10 |
2 files changed, 10 insertions, 0 deletions
diff --git a/packages/dropbear/dropbear-early/.mtn2git_empty b/packages/dropbear/dropbear-early/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/dropbear/dropbear-early/.mtn2git_empty diff --git a/packages/dropbear/dropbear-early/dropbear-early b/packages/dropbear/dropbear-early/dropbear-early new file mode 100644 index 0000000000..fa06a93003 --- /dev/null +++ b/packages/dropbear/dropbear-early/dropbear-early @@ -0,0 +1,10 @@ +#!/bin/sh + +for x in $(cat /proc/cmdline); do + case $x in + dropbear=early) + echo "Starting dropbear early" + exec /etc/init.d/dropbear $* + ;; + esac +done |