fix compile error (pointed out by nonsequitor)
[openwrt.git] / 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.025946 seconds and 4 git commands to generate.