mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 18:40:16 +02:00
fix dropbear keygen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5375 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
42af40f92a
commit
9f686291f7
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user