|
|
|
@ -168,7 +168,9 @@ if [ "$autotune" = "1" ]; then
|
|
|
|
threshold=1
|
|
|
|
threshold=1
|
|
|
|
delay=1
|
|
|
|
delay=1
|
|
|
|
retries=30
|
|
|
|
retries=30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Starting Auto-tune scanning"
|
|
|
|
|
|
|
|
echo "Scan will stop when confidence exceeds threshold value of " $threshold " or after " $retries " retries"
|
|
|
|
tries=0
|
|
|
|
tries=0
|
|
|
|
confidence=0
|
|
|
|
confidence=0
|
|
|
|
while [ $tries -le $retries ] && [ "$confidence" -le "$threshold" ]; do
|
|
|
|
while [ $tries -le $retries ] && [ "$confidence" -le "$threshold" ]; do
|
|
|
|
|