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 deployment marker
|
||||||
daemon_marker = "/etc/opt/auto-cpufreq"
|
daemon_marker = "/etc/opt/auto-cpufreq"
|
||||||
|
|
||||||
|
|
||||||
# driver check
|
|
||||||
driver = s.getoutput("cpufreqctl --driver")
|
|
||||||
|
|
||||||
# deploy cpufreqctl script
|
# deploy cpufreqctl script
|
||||||
def cpufreqctl():
|
def cpufreqctl():
|
||||||
# deploy cpufreqctl script (if missing)
|
# deploy cpufreqctl script (if missing)
|
||||||
|
@ -291,6 +287,9 @@ def sysinfo():
|
||||||
dist = " ".join(x for x in fdist)
|
dist = " ".join(x for x in fdist)
|
||||||
print("Linux distro: " + dist)
|
print("Linux distro: " + dist)
|
||||||
print("Linux kernel: " + pl.release())
|
print("Linux kernel: " + pl.release())
|
||||||
|
|
||||||
|
# driver check
|
||||||
|
driver = s.getoutput("cpufreqctl --driver")
|
||||||
print("Driver: " + driver)
|
print("Driver: " + driver)
|
||||||
|
|
||||||
# get cpu architecture
|
# get cpu architecture
|
||||||
|
|
Loading…
Reference in New Issue