This commit is contained in:
2024-12-18 22:48:03 -06:00
parent a5d7365f8b
commit 7c07773e1a
2 changed files with 11 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='2.8.14-12012024'
VERS='2.8.15a-12182024'
noheader=' update service dailytemp confsync -r -report test '
@@ -45,13 +45,8 @@ EMAIL_NOTICE=${PW_EMAIL_NOTICE}
PUSHOVER_APP_TOKEN=${PW_PUSHOVER_APP_TOKEN}
PUSHOVER_USER_TOKEN=${PW_PUSHOVER_USER_TOKEN}
if [ "${PW_FANINPUT}" == "" ]; then
if [ -f /sys/class/hwmon/hwmon2/fan1_input ]; then
PW_FANINPUT=/sys/class/hwmon/hwmon2/fan1_input
elif [ -f /sys/class/hwmon/hwmon3/fan1_input ]; then
PW_FANINPUT=/sys/class/hwmon/hwmon3/fan1_input
fi
fi
[ "${PW_ENABLE_RENOTIFY}" == "" ] && PW_ENABLE_RENOTIFY=1
IFS=,