]> ##&name; ###&version; - set minimum Unraid version to 6.9 (supports multi-language) - added support for upcoming Unraid version 6.12 ###2022.09.16 - added SAS disks support (courtesy of user Doron) - minor updates ###2020.06.21 - fixed regression error ###2020.06.20 - updated multi-language support ###2020.05.10 - updated multi-language support ###2020.04.11 - fixed NMVE exclusion (courtesy of Leoyzen) ###2020.03.31 - added multi-language support - added multi fan selection ###2017.10.15 - added temperature reading from NVMe devices (contributed by syntactic-salt) - added exclude disks option from temperature reading (contributed by andreiio) ###2016.12.15 - fixed incompatibility with PHP7 ###2016.08.26 - fixed folders and files permissions - added minimum unRAID version 6.1.9 ###2016.03.15 - fixed temperature input when Fahrenheit is selected - fixed log notifications in Celsius or Fahrenheit ###2016.02.27 - added display of autofan speed percentage when system temp is installed (courtesy of gfjardim) ###2015.12.14 - added unRAID version check. Only version 6.1 or higher is allowed - updated consistency of PLG file ###2015.12.13 - changed .txz file naming to support consistent package upgrading - updated rc.autofan script (start | stop | restart) - fixed autofan script start ###2015.08.13 - adhere new security policy in unRAID v6.1 (please reboot after upgrade) - correction in display of detection progress ###2015.08.08 - made plugin compatible for unRAID version 6.0 and 6.1 ###2015.06.27 - removed utilities page (now standard included with Dynamix webGui) - removed Reset button (now controlled by Dynamix webGui) - added Default button ###2015.04.28 - added Reset button on settings page ###2015.04.11 - improved pwm scanning (thanks to gfjardim) ###2015.02.07 - initial release for unRAID v6 # Stop service /usr/local/emhttp/plugins/&name;/scripts/rc.autofan stop 2>/dev/null # Remove old 'source' packages MD5=$(md5sum &source;.txz 2>/dev/null|grep -Po '^\S+') if [[ $MD5 != &MD5; ]]; then rm -f &source;*.txz fi https://raw.githubusercontent.com/bergware/dynamix/master/archive/&name;.txz &MD5; #!/bin/bash /usr/local/emhttp/plugins/&name;/scripts/rc.autofan start 2>/dev/null cfg=&source;.cfg if [[ ! -e $cfg ]]; then cfg=/usr/local/emhttp/plugins/&name;/default.cfg fi # Start service enable=$(grep -Po '^service="\K[^"]+' $cfg) if [[ $enable -eq 1 ]]; then at -M -f /tmp/start_service now 2>/dev/null fi rm -f /tmp/start_service echo "" echo "-----------------------------------------------------------" echo " Plugin &name; is installed." echo " This plugin requires Dynamix webGui to operate" echo " Copyright 2023, Bergware International" echo " Version: &version;" echo "-----------------------------------------------------------" echo "" # Stop service /usr/local/emhttp/plugins/&name;/scripts/rc.autofan stop 2>/dev/null # Remove plugin related files rm -rf /boot/config/plugins/&name; # Uninstall the 'source' package removepkg &name;