From 3d070abca75745c5cc4e28922aafc019991275a4 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 31 Oct 2021 17:50:29 +0100 Subject: [PATCH] comment --- bundles/smartctl/files/telegraf_plugin | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/smartctl/files/telegraf_plugin b/bundles/smartctl/files/telegraf_plugin index 5949a5c..5302113 100644 --- a/bundles/smartctl/files/telegraf_plugin +++ b/bundles/smartctl/files/telegraf_plugin @@ -7,6 +7,9 @@ do output=$(smartctl -n standby -i $device) exitstatus=$? unset power_level + + # maybe find out power state by trying through all states and check when + # it stops exiting 2, sarting with deepest. if $(echo $output | grep -q "Power mode is:") then