From 9f686291f7c97ebac9a97ddfdd84cfbf6e954324 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 1 Nov 2006 18:11:44 +0000 Subject: fix dropbear keygen git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5375 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/dropbear/files/dropbear.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/dropbear') 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 } -- cgit v1.2.3