* Added build-wk script * This will (hopefully) keep the arch-hh folder clean allowing for a better git workflow * Rebuilt the default settings for wktech for most programs * Made the theme/icons more consistant between programs * Changed whiskermenu to more closely match a Windows Start Menu * Lots of hw-diags updates: * Connects to the network automatically * Copies all results files to $HOME/Tickets * Creates valid tgz archives of the results * Uses `mktemp` for setting TMP_DIR * mount-all-drives now opens the FileManager if lauched w/ Super+M * Probably more...
20 lines
353 B
Bash
20 lines
353 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 /tmp/tmp.7Mh5f1RhSL9001"
|
|
}
|
|
|
|
# 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"
|