]> ##&name; ###&version; - Added "Trim Now" button ###2020.06.21 - fiexed regression error ###2020.06.20 - updated multi-language support ###2020.05.10 - updated multi-language support ###2020.03.31 - added multi-language support ###2017.04.23 - made trim operation on all mount points which support it - made plugin autonomous - added shortcut link on plugins page - updated plugin icon ###2016.08.26 - fixed folders and files permissions - added minimum unRAID version 6.1.9 ###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 ###2015.10.24 - initial release for unRAID v6.1 only # Remove old 'source' packages MD5=$(md5sum &source;.txz 2>/dev/null|grep -Po '^\S+') if [[ $MD5 != &MD5; ]]; then rm -f &source;*.txz fi # Move legacy cronjob if [[ -f /boot/config/plugins/dynamix/ssd-trim.cron ]]; then mv -f /boot/config/plugins/dynamix/ssd-trim.cron /boot/config/plugins/&name; /usr/local/sbin/update_cron fi https://raw.githubusercontent.com/bergware/dynamix/master/archive/&name;.txz &MD5; echo "" echo "-----------------------------------------------------------" echo " Plugin &name; is installed." echo " This plugin requires Dynamix webGui to operate" echo " Copyright 2022, Bergware International" echo " Version: &version;" echo "-----------------------------------------------------------" echo "" # Remove plugin related files rm -rf /boot/config/plugins/&name; # Uninstall the 'source' package removepkg &name; # Update cronjob /usr/local/sbin/update_cron