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

attempt to use diskspeedcheck, drop attempt until it is working. Use hardwired dd for now.

parent 7cf904ff
......@@ -15,6 +15,7 @@ declare err=""
source getfromtb.sh
source hbis.sh
source checkutils.sh
source diskspeedcheck
main() {
inithostname
......@@ -116,6 +117,7 @@ main() {
$temp_val ) d[$temp_val]=$(gettemp ${drive[$idx]}) ;;
$model_val ) d[$model_val]=$(getmodel ${drive[$idx]}) ;;
$serial_val ) d[$serial_val]=$(getserial ${drive[$idx]}) ;;
# only on first drive -- see below
# $wspeed_val ) d[$wspeed_val]=$(getwspeed ${drive[$idx]}) ;;
# $rspeed_val ) d[$rspeed_val]=$(getrspeed ${drive[$idx]}) ;;
esac
......@@ -131,6 +133,11 @@ main() {
done
driveinv[$idx]=${d[@]}
done
#do speed test only on root drive
doit_diskspeed
d[$wspeed_val]=$wkps
d[$rspeed_val]=$rkps
# dbug
echo ""
......
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