]> ##&name; ###&version; - disable local master browser when WSD is used ###2023.02.19 - added link to SMB settings - updated help text - check on NetBIOS and WSD ###2023.02.05 - set minimum Unraid version to 6.9 (supports multi-language) - added support for upcoming Unraid version 6.12 ###2020.06.20 - updated multi-language support ###2020.05.10 - updated multi-language support ###2020.03.31 - added multi-language support ###2016.09.13 - fixed absolute path using $docroot ###2016.08.26 - fixed folders and files permissions - added minimum unRAID version 6.1.9 ###2016.01.29 - fixed wrong image reference in readme file ###2016.01.24 - changed file locations and made plugin autonomous ###2015.12.30 - changed to hook solution for main page display ###2015.12.15 - fixed regression error - changed icon display under SMB workgroup ###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.12 - fixed timer pause/resume function - changed file extension of temporary file to avoid conflict with diagnostics ###2015.09.26 - added: enable/disable election monitoring - changed: display of elected local master browser ###2015.09.05 - test 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 # Remove legacy cron flash=/boot/config/plugins/dynamix if [[ -f $flash/localmaster.cron ]]; then rm -f $flash/localmaster.cron /usr/local/sbin/update_cron sed -i '/^monitor=/d' $flash/dynamix.cfg 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 2023, Bergware International" echo " Version: &version;" echo "-----------------------------------------------------------" echo "" # Remove plugin related files rm -rf /boot/config/plugins/&name; # Update cron /usr/local/sbin/update_cron # Uninstall the 'source' package removepkg &name; # Remove setting sed -i '/^monitor=/d' /boot/config/plugins/dynamix/dynamix.cfg