summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorBernhard Walle <bernhard@bwalle.de>2011-06-12 18:14:52 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-14 12:34:13 +0200
commit4b1cd0fde8f16310cb5249dbc540da9a08afc4e3 (patch)
treed604f38d944300b343b94f36037cb234a8b0f9de /generic
parent33588dfec197d4e6170085a27ce1e56a3c04c6fa (diff)
downloadptxdist-4b1cd0fde8f16310cb5249dbc540da9a08afc4e3.tar.gz
ptxdist-4b1cd0fde8f16310cb5249dbc540da9a08afc4e3.tar.xz
Fix PTXCONF_DROPBEAR_KEY_DIR in /etc/init.d/dropbear
As far as I can see, 0e0f5d31e0e004717320d732154d700405a13b31 broke it. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'generic')
-rw-r--r--generic/etc/init.d/dropbear4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/etc/init.d/dropbear b/generic/etc/init.d/dropbear
index 45f88024b..8f7438462 100644
--- a/generic/etc/init.d/dropbear
+++ b/generic/etc/init.d/dropbear
@@ -16,6 +16,10 @@ DROPBEAR_DSSKEY_DEFAULT="@KEYDIR@/dropbear_dss_host_key"
test -z "$DROPBEAR_BANNER" || \
DROPBEAR_EXTRA_ARGS="$DROPBEAR_EXTRA_ARGS -b $DROPBEAR_BANNER"
+test -n "$DROPBEAR_RSAKEY" || \
+ DROPBEAR_RSAKEY=$DROPBEAR_RSAKEY_DEFAULT
+test -n "$DROPBEAR_DSSKEY" || \
+ DROPBEAR_DSSKEY=$DROPBEAR_DSSKEY_DEFAULT
test -n "$DROPBEAR_KEYTYPES" || \
DROPBEAR_KEYTYPES="rsa dss"