From 7d2928b5850b1a7f076285d4c9e7f23494785372 Mon Sep 17 00:00:00 2001 From: aixiao Date: Thu, 5 Aug 2021 11:33:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0dd66fd --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# reboot_temperature + 树莓派温度上限时重启或者关机, 保护硬件 + 搭配qqMail(https://git.aixiao.me/aixiao/qqMail)实现QQ邮件发送告警 + + +## Help Information + thermal_zone = "/sys/class/thermal/thermal_zone0/temp"; // 树莓派温度 + temperature = 70 // 温度上限 + log_file = "log_reboot.log"; // 日志文件 + second = 60 // 循环秒 + nice = -20 // 进程进程优先级 +19 - -20 + off_power = 1 // 1关机 0重启 +