mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 19:04:36 +02:00
oops, forgot to take out some debugging stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@550 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f769262d89
commit
5beb2acad5
@ -2,10 +2,10 @@
|
||||
|
||||
for type in rsa dss; do {
|
||||
# check for keys
|
||||
key=/tmp/dropbear/dropbear_${type}_host_key
|
||||
key=/etc/dropbear/dropbear_${type}_host_key
|
||||
[ ! -f $key ] && {
|
||||
# generate missing keys
|
||||
mkdir -p /tmp/dropbear
|
||||
mkdir -p /etc/dropbear
|
||||
[ -x /usr/bin/dropbearkey ] && {
|
||||
/usr/bin/dropbearkey -t $type -f $key 2>&- >&- && exec $0 $*
|
||||
} &
|
||||
|
Loading…
Reference in New Issue
Block a user