mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-27 07:34:25 +02:00
re-enable app_version func + add missing footer to daemon log
This commit is contained in:
parent
4990854f3c
commit
70c646f9cb
@ -46,6 +46,7 @@ def main(monitor, live, daemon, install, log, debug):
|
|||||||
elif os.getenv("PKG_MARKER") != "SNAP":
|
elif os.getenv("PKG_MARKER") != "SNAP":
|
||||||
while True:
|
while True:
|
||||||
root_check()
|
root_check()
|
||||||
|
footer()
|
||||||
gov_check()
|
gov_check()
|
||||||
cpufreqctl()
|
cpufreqctl()
|
||||||
distro_info()
|
distro_info()
|
||||||
@ -82,7 +83,6 @@ def main(monitor, live, daemon, install, log, debug):
|
|||||||
countdown(5)
|
countdown(5)
|
||||||
run("clear")
|
run("clear")
|
||||||
elif log:
|
elif log:
|
||||||
# ToDo: fail if log is missing or empty (on)
|
|
||||||
read_log()
|
read_log()
|
||||||
elif debug:
|
elif debug:
|
||||||
root_check()
|
root_check()
|
||||||
@ -92,8 +92,7 @@ def main(monitor, live, daemon, install, log, debug):
|
|||||||
if os.getenv('PKG_MARKER') == "SNAP":
|
if os.getenv('PKG_MARKER') == "SNAP":
|
||||||
print("Snap package: yes")
|
print("Snap package: yes")
|
||||||
else:
|
else:
|
||||||
# temp disabled (Issue: #111)
|
app_version()
|
||||||
# app_version()
|
|
||||||
print("Snap package: no")
|
print("Snap package: no")
|
||||||
print("")
|
print("")
|
||||||
python_info()
|
python_info()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user