* Added HFS+ to udevil's allowed types. * Added mediainfo to meet photorec-sort requirements * Removed git * Switched out Chromium for Midori * Size reduction test * hw-diags now tests USB drives (except ARCH drives) * mount-all-volumes no longer opens the file browser Bugfix: mount-backup-shares should now work.
20 lines
352 B
Bash
20 lines
352 B
Bash
#!/bin/bash
|
|
#
|
|
## WK HW diagnostics - Prime95
|
|
|
|
# Find executable
|
|
MPRIME="/usr/bin/mprime$(getconf LONG_BIT)"
|
|
|
|
function usage {
|
|
echo "Usage: $0 log-dir"
|
|
echo " e.g. $0 /var/tmp/hw-diags/9001"
|
|
}
|
|
|
|
# Bail early
|
|
if [ ! -d "$1" ]; then
|
|
usage
|
|
exit 1
|
|
fi
|
|
|
|
# Run Prime95
|
|
$MPRIME -t | grep -iv --line-buffered 'stress.txt' | tee -a "$1/prime.log"
|