mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-02 20:16:59 +00:00
fix dropbear keygen
SVN-Revision: 5375
This commit is contained in:
parent
e7614e91b9
commit
a640884663
@ -29,7 +29,7 @@ keygen() {
|
|||||||
# generate missing keys
|
# generate missing keys
|
||||||
mkdir -p /tmp/dropbear
|
mkdir -p /tmp/dropbear
|
||||||
[ -x /usr/bin/dropbearkey ] && {
|
[ -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
|
exit 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user