fixed driver information display
This commit is contained in:
parent
9f20610b26
commit
6c81233fc6
|
@ -36,10 +36,6 @@ auto_cpufreq_log_file = "/var/log/auto-cpufreq.log"
|
|||
# daemon deployment marker
|
||||
daemon_marker = "/etc/opt/auto-cpufreq"
|
||||
|
||||
|
||||
# driver check
|
||||
driver = s.getoutput("cpufreqctl --driver")
|
||||
|
||||
# deploy cpufreqctl script
|
||||
def cpufreqctl():
|
||||
# deploy cpufreqctl script (if missing)
|
||||
|
@ -291,6 +287,9 @@ def sysinfo():
|
|||
dist = " ".join(x for x in fdist)
|
||||
print("Linux distro: " + dist)
|
||||
print("Linux kernel: " + pl.release())
|
||||
|
||||
# driver check
|
||||
driver = s.getoutput("cpufreqctl --driver")
|
||||
print("Driver: " + driver)
|
||||
|
||||
# get cpu architecture
|
||||
|
@ -430,4 +429,4 @@ def cli(monitor, live, daemon, install, log):
|
|||
|
||||
if __name__ == '__main__':
|
||||
# while True:
|
||||
cli()
|
||||
cli()
|
||||
|
|
Loading…
Reference in New Issue