#!/bin/bash | |
# Copyright 2016 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
modify_kernel_command_line() { | |
echo "intel_idle.max_cstate=7" >> "$1" | |
# Avoid a cosmetic TPM error (Work around for b/113527055) | |
sed -i -e '/tpm_tis.force/d' "$1" | |
echo "tpm_tis.force=0" >> "$1" | |
} |