oops, forgot to take out some debugging stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@550 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
f478bf86c9
commit
d486b611ac
|
@ -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