if not time_ago_arg else False,

main
vitrinekast 8 months ago
parent a4b4408b3b
commit 0b924d5428

@ -112,7 +112,7 @@ output = template.render(
kitchen_services = kitchen_services,
ip_address = ip_address,
logins_today = run_command(['grep', '-v', "Boot"], based=logins_today_log.stdout).splitlines(),
list_active_services = run_command(["sudo", "service", "--status-all"]).splitlines(),
list_active_services = run_command(["sudo", "service", "--status-all"]).splitlines() if not time_ago_arg else False,
debian_version = run_command(["cat", "/etc/debian_version"]) if not time_ago_arg else False,
hostname = run_command(["hostname","-i"]) if not time_ago_arg else False,
groups_created = run_command(['grep', '-v', "Boot"], based=groupadd_today_log.stdout).splitlines(),

Loading…
Cancel
Save