disabled driver_check for monitor

This commit is contained in:
Adnan Hodzic 2020-01-02 13:19:25 +01:00
parent f02ba0cc6d
commit 9a4a695c40

View File

@ -135,7 +135,9 @@ def driver_check():
driver = s.getoutput("cpufreqctl --driver") driver = s.getoutput("cpufreqctl --driver")
if driver != "intel_pstate": if driver != "intel_pstate":
print("\n" + "-" * 32 + " Driver check " + "-" * 33 + "\n") 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 # check for necessary scaling governors
def gov_check(): def gov_check():
@ -414,7 +416,7 @@ def cli(monitor, live, daemon, log):
if monitor: if monitor:
while True: while True:
log_check() log_check()
driver_check() #driver_check()
gov_check() gov_check()
sysinfo() sysinfo()
mon_autofreq() mon_autofreq()