aboutsummaryrefslogtreecommitdiffstats
path: root/package/dropbear
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-01 18:11:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-01 18:11:44 +0000
commit34ba72030d88f6fc132fa8c1ec9f046c0f97daf5 (patch)
tree3c2ebd158eb53bae5df5df967dc31939ac04f8b7 /package/dropbear
parentd45545fa1537cc6dec9d449e9994d70ba8e2b7a9 (diff)
downloadupstream-34ba72030d88f6fc132fa8c1ec9f046c0f97daf5.tar.gz
upstream-34ba72030d88f6fc132fa8c1ec9f046c0f97daf5.tar.bz2
upstream-34ba72030d88f6fc132fa8c1ec9f046c0f97daf5.zip
fix dropbear keygen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5375 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dropbear')
-rwxr-xr-xpackage/dropbear/files/dropbear.init2
1 files changed, 1 insertions, 1 deletions
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
}