Commit 3d0e9ed8 authored by Mike Hibler's avatar Mike Hibler
Browse files

Add hook for HW inventory gathering.

parent b3b9a8b0
......@@ -541,7 +541,17 @@ case $STATUS in
zapsuperblocks /dev/$d
echo "Invalidating MBR on /dev/$d"
dd if=/dev/zero of=/dev/$d bs=512 count=16
done
done
# XXX tmp, gather HW info (including disk speed tests)
if [ -x $BINDIR/rc.nodecheck ]; then
$BINDIR/rc.nodecheck boot gather
fi
## if we have nodecheck, perform disk speed tests here
#if [ -x $BINDIR/rc.nodecheck ]; then
# true
#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