diff --git a/microcode_ctl.spec b/microcode_ctl.spec index c9ff074..e913ee5 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -71,6 +71,7 @@ vendor=`cat /proc/cpuinfo | grep "^vendor_id" | sort -u | awk -F ": " '{ print $ family=`cat /proc/cpuinfo | grep "^cpu family" | sort -u | awk -F ": " '{ print $2 }'` [ $family -lt 6 ] && exit 0 /sbin/chkconfig --add microcode_ctl +/sbin/chkconfig microcode_ctl on %triggerpostun -- microcode_ctl # Only enable on Intel 686's and above.