]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
dropbear: generate keys in background.
authorRene Wagner <rw@handhelds.org>
Sun, 23 Jul 2006 20:16:56 +0000 (22:16 +0200)
committerRene Wagner <rw@handhelds.org>
Sun, 23 Jul 2006 20:16:56 +0000 (22:16 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/dropbear/dropbear/init
org.handhelds.familiar/packages/dropbear/dropbear_0.48.1.bb

index d019bdb4ba67ce8ee90e9159052c971fc3cac39b..9463fcbeebd88cccbe7522d6405a42c96dcf1ad3 100755 (executable)
@@ -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)
index d0392097647fbfca1f04c3bfb7efd6c0fbb9b457..b8701cbfe421223dae3dcf2e2136293aed81dfda 100644 (file)
@@ -1 +1,3 @@
 include dropbear.inc
+
+PR = "r1"