Commit c40f2f11 authored by Dan Reading's avatar Dan Reading
Browse files

if we have a small device, such as a USB drive, don't pretend that we know...

if we have a small device, such as a USB drive, don't pretend that we know what r/w speed, serial or type.
parent 6b45ed7e
......@@ -157,18 +157,14 @@ main() {
if [ ${d[$size_val]} -gt 8 ] ; then
d[$rspeed_val]=$(getrspeed ${drive[$idx]})
else
d[$rspeed_val]=0
d[$type_val]="USB"
d[$serial_val]="SMALL"
d[$type_val]="SMALL"
fi
;;
$wspeed_val )
if [ ${d[$size_val]} -gt 8 ] ; then
d[$wspeed_val]=$(getwspeed ${drive[$idx]})
else
d[$wspeed_val]=0
d[$type_val]="USB"
d[$serial_val]="SMALL"
d[$type_val]="SMALL"
fi
;;
esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment