From 39462967de3e1fc18e60cfcae622ef5fe8b60165 Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Sun, 23 Jul 2006 22:16:56 +0200 Subject: [PATCH] dropbear: generate keys in background. Signed-off-by: Rene Wagner --- org.handhelds.familiar/packages/dropbear/dropbear/init | 6 +++--- org.handhelds.familiar/packages/dropbear/dropbear_0.48.1.bb | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/org.handhelds.familiar/packages/dropbear/dropbear/init b/org.handhelds.familiar/packages/dropbear/dropbear/init index d019bdb..9463fcb 100755 --- a/org.handhelds.familiar/packages/dropbear/dropbear/init +++ b/org.handhelds.familiar/packages/dropbear/dropbear/init @@ -61,14 +61,14 @@ done case "$1" in start) - echo -n "Starting $DESC: " - gen_keys + echo -n "Starting $DESC in background: " + (gen_keys KEY_ARGS="" test -f $DROPBEAR_DSSKEY && KEY_ARGS="$KEY_ARGS -d $DROPBEAR_DSSKEY" test -f $DROPBEAR_RSAKEY && KEY_ARGS="$KEY_ARGS -r $DROPBEAR_RSAKEY" start-stop-daemon -S \ -x "$DAEMON" -- $KEY_ARGS \ - -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS + -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS) & echo "$NAME." ;; stop) diff --git a/org.handhelds.familiar/packages/dropbear/dropbear_0.48.1.bb b/org.handhelds.familiar/packages/dropbear/dropbear_0.48.1.bb index d039209..b8701cb 100644 --- a/org.handhelds.familiar/packages/dropbear/dropbear_0.48.1.bb +++ b/org.handhelds.familiar/packages/dropbear/dropbear_0.48.1.bb @@ -1 +1,3 @@ include dropbear.inc + +PR = "r1" -- 2.41.1