From: Felix Fietkau Date: Wed, 1 Nov 2006 18:11:44 +0000 (+0000) Subject: fix dropbear keygen X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a640884663aa183d02d06b50aa95f9b3b2655e7d;p=openwrt%2Fstaging%2F981213.git fix dropbear keygen SVN-Revision: 5375 --- diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init index 2ea547267e..ef69e90176 100755 --- a/package/dropbear/files/dropbear.init +++ b/package/dropbear/files/dropbear.init @@ -29,7 +29,7 @@ keygen() { # generate missing keys mkdir -p /tmp/dropbear [ -x /usr/bin/dropbearkey ] && { - /usr/bin/dropbearkey -t $keytype -f /etc/$key 2>&- >&- && exec /etc/rc.common "$initscript" start + /usr/bin/dropbearkey -t $keytype -f /tmp/$key 2>&- >&- && exec /etc/rc.common "$initscript" start } & exit 0 }