From c3e7aa68d454336aa6a46bf6ae55eee3e7e0a75f Mon Sep 17 00:00:00 2001 From: Sthope Date: Sun, 24 Apr 2022 21:53:58 +0200 Subject: [PATCH] first commit --- docs/proxmox/send-cpu-temp-to-ha.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/proxmox/send-cpu-temp-to-ha.md b/docs/proxmox/send-cpu-temp-to-ha.md index 6417175..6e25d71 100644 --- a/docs/proxmox/send-cpu-temp-to-ha.md +++ b/docs/proxmox/send-cpu-temp-to-ha.md @@ -1,8 +1,10 @@ Thanks for [nikito7](https://github.com/nikito7) -```nano proxmox_sendTemp_2HA``` - +``` +nano proxmox_sendTemp_2HA +``` + ``` #!/bin/sh @@ -10,5 +12,7 @@ temp=$(cat /sys/class/thermal/thermal_zone2/temp') mosquitto_pub -h host -user -P pass -t proxmox/pve1/cpu_temp -m $temp ``` - -```chmod +x proxmox_sendTemp_2HA;/10 * * * * /proxmox_sendTemp_2HA``` \ No newline at end of file + +``` +chmod +x proxmox_sendTemp_2HA;/10 * * * * /proxmox_sendTemp_2HA +``` \ No newline at end of file