@@ -393,12 +393,18 @@ def print_measured_values(monitored_values):
|
||||
if key in monitored_values:
|
||||
output += f" {label}: {monitored_values[key]} {unit}\n"
|
||||
|
||||
if config.drive_temps:
|
||||
drive_temps = check_all_drive_temps()
|
||||
if len(drive_temps) > 0:
|
||||
for device, temp in drive_temps.items():
|
||||
output += f" {device.capitalize()} Temp: {temp:.2f}°C\n"
|
||||
output += "\n:: Scheduling\n "
|
||||
|
||||
if check_service_file_exists():
|
||||
output += " Running as Service\n"
|
||||
elif check_crontab_entry():
|
||||
output += " Running as Cron Job\n"
|
||||
|
||||
if check_service_file_exists():
|
||||
output += " Running as Service\n"
|
||||
elif check_crontab_entry():
|
||||
|
||||
Reference in New Issue
Block a user