aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2018-01-15 02:27:46 +0800
committersbruno <sbruno@FreeBSD.org>2018-01-15 02:27:46 +0800
commitd61437851dbd1fdb4edebbaa6ce92cfc66182b58 (patch)
treef090780fb840b9c92b3f3b349b50dd4cdc3c081a /sysutils
parent7724175242c0fb92c8ad66da1469ac275ba716ee (diff)
downloadfreebsd-ports-gnome-d61437851dbd1fdb4edebbaa6ce92cfc66182b58.tar.gz
freebsd-ports-gnome-d61437851dbd1fdb4edebbaa6ce92cfc66182b58.tar.zst
freebsd-ports-gnome-d61437851dbd1fdb4edebbaa6ce92cfc66182b58.zip
sysutils/devcpu-data: Only run "cpucontrol -e" once.
Submitted by: kib Sponsored by: Limelight Networks
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/devcpu-data/Makefile1
-rw-r--r--sysutils/devcpu-data/files/microcode_update.in2
2 files changed, 1 insertions, 2 deletions
diff --git a/sysutils/devcpu-data/Makefile b/sysutils/devcpu-data/Makefile
index dc87c34d0e20..327ecfcb1dc0 100644
--- a/sysutils/devcpu-data/Makefile
+++ b/sysutils/devcpu-data/Makefile
@@ -3,6 +3,7 @@
PORTNAME= data
PORTVERSION= 1.14
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://downloadmirror.intel.com/27431/eng/:intel \
LOCAL/sbruno:amd
diff --git a/sysutils/devcpu-data/files/microcode_update.in b/sysutils/devcpu-data/files/microcode_update.in
index 7939da014a29..91a5fca0730c 100644
--- a/sysutils/devcpu-data/files/microcode_update.in
+++ b/sysutils/devcpu-data/files/microcode_update.in
@@ -56,13 +56,11 @@ microcode_update_start()
(echo "Microcode Update Failed." && exit 1)
done
if [ "${microcode_cpus}" = "ALL" ]; then
- for i in ${cpus}; do
${CMT} -e /dev/cpuctl${i} >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Re-evalutation of CPU flags Failed."
exit 1
fi
- done
fi
echo "Done."
}