fix dropbear keygen
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 1 Nov 2006 18:11:44 +0000 (18:11 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 1 Nov 2006 18:11:44 +0000 (18:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5375 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/dropbear/files/dropbear.init

index 2ea5472..ef69e90 100755 (executable)
@@ -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
                }
This page took 0.023611 seconds and 4 git commands to generate.