disabled driver_check for monitor

This commit is contained in:
Adnan Hodzic 2020-01-02 13:19:25 +01:00
parent f02ba0cc6d
commit 9a4a695c40
1 changed files with 4 additions and 2 deletions

View File

@ -135,7 +135,9 @@ def driver_check():
driver = s.getoutput("cpufreqctl --driver")
if driver != "intel_pstate":
print("\n" + "-" * 32 + " Driver check " + "-" * 33 + "\n")
sys.exit("ERROR:\n\n\"intel_pstate\" CPU Performance Scaling Driver is not enabled.\n")
print("ERROR:\n\n\"intel_pstate\" CPU Performance Scaling Driver is not enabled.\n")
footer(79)
sys.exit()
# check for necessary scaling governors
def gov_check():
@ -414,7 +416,7 @@ def cli(monitor, live, daemon, log):
if monitor:
while True:
log_check()
driver_check()
#driver_check()
gov_check()
sysinfo()
mon_autofreq()