X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/49e1c4a590c086e096b156ac5a8474d40a5f0e77..adfbea409789faa2081cfa3e090a67e3936aa866:/package/dropbear/files/dropbear.init diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init index 2ea547267..ef69e9017 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 }