/usr/local/emhttp/plugins/fanctrlplus2/images/fanctrlplus2.png "$new_config/order.cfg.tmp" && mv "$new_config/order.cfg.tmp" "$new_config/order.cfg" fi if [[ -f "$old_config/pwm_labels.cfg" && ! -e "$new_config/pwm_labels.cfg" ]]; then cp -p "$old_config/pwm_labels.cfg" "$new_config/pwm_labels.cfg" fi fi touch "$marker" fi if [[ -f "$old_manifest" || -d "$old_runtime" ]]; then echo "" echo "FanCtrl Plus configuration imported into FanCtrl Plus 2." echo "Uninstall upstream FanCtrl Plus, then install FanCtrl Plus 2 again." echo "Installation stopped to prevent both plugins controlling the same fans." echo "" exit 1 fi exit 0 ]]> https://github.com/andrebrait/fanctrlplus/releases/download/1.5.2/fanctrlplus2-1.5.2-noarch-1.txz 9265f72944756456b5d9270d892aa4403410db6f535d84aa1a56983f78a6d445 /dev/null 2>&1 & fi echo "" echo "------------------------------------------------" echo " FanCtrl Plus 2 is installed." echo " Version: 1.5.2" echo "------------------------------------------------" echo "" exit 0 ]]> /dev/null pkill -f "/usr/local/emhttp/plugins/fanctrlplus2/scripts/array_monitor.sh" removepkg fanctrlplus2 2>/dev/null || true rm -rf /usr/local/emhttp/plugins/fanctrlplus2 rm -rf /boot/config/plugins/fanctrlplus2 rm -f /etc/rc.d/rc.fanctrlplus2 echo "============================================================" echo " FanCtrl Plus 2 has been removed." echo " Reboot to restore fan control to BIOS or other tools." echo "============================================================" exit 0 ]]>