diff --git a/k3shx/10gbe.conf b/k3shx/10gbe.conf index 9a9bf18..fd36f86 100644 --- a/k3shx/10gbe.conf +++ b/k3shx/10gbe.conf @@ -1 +1 @@ -UserParameter=mac_temperature,/usr/bin/sensors | grep 'MAC Temperature' | awk '{print $3}' | cut -d '+' -f 2 +UserParameter=mac_temperature,/usr/bin/sensors | grep 'MAC Temperature' | awk '{print $3}' | sed 's/+//; s/°C//' diff --git a/k3shx/amd_cpu.conf b/k3shx/amd_cpu.conf index e79878a..baa84ab 100644 --- a/k3shx/amd_cpu.conf +++ b/k3shx/amd_cpu.conf @@ -1 +1 @@ -UserParameter=cpu_temperature,/usr/bin/sensors | grep 'Tctl' | awk '{print $2}' | cut -d '+' -f 2 +UserParameter=cpu_temperature,/usr/bin/sensors | grep 'Tctl' | awk '{print $2}' | sed 's/+//; s/°C//' diff --git a/k3shx/amd_gpu.conf b/k3shx/amd_gpu.conf index fb41033..559e780 100644 --- a/k3shx/amd_gpu.conf +++ b/k3shx/amd_gpu.conf @@ -1 +1 @@ -UserParameter=gpu_temperature,/usr/bin/sensors | grep 'edge' | awk '{print $2}' | cut -d '+' -f 2 +UserParameter=gpu_temperature,/usr/bin/sensors | grep 'edge' | awk '{print $2}' | sed 's/+//; s/°C//'