]> ###2025.01.31 - Added: In the event of a failed install via GUI advise to reboot server - Added: Updates available banner - Changed: Force plugin to always install first upon a reboot ###2025.01.26 - Fixed: Background update checks could return a false positive notification ###2024.12.18 - Initial Release rm -f /tmp/plugins/pluginPending/AAA-UnraidPatch-BootLoader-DO_NOT_DELETE.plg # Remove old 'source' files rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null | grep -v '&version;') https://raw.github.com/&github;/main/archive/&name;-&version;-x86_64-1.txz &md5; cp /usr/local/emhttp/plugins/unraid.patch/extra/AAA-UnraidPatch-BootLoader-DO_NOT_DELETE.plg /boot/config/plugins/ /usr/local/emhttp/plugins/unraid.patch/scripts/patch.php install boot ln -s /usr/local/emhttp/plugins/unraid.patch/scripts/backgroundCheck.php /etc/cron.weekly/backgroundCheck.php if [ ! -f /boot/config/plugins/unraid.patch/accepted ]; then /usr/local/emhttp/plugins/unraid.patch/scripts/backgroundCheck.php fi echo "" echo "----------------------------------------------------" echo " &name; has been installed." echo " Copyright 2024-2025, Lime Technology, Inc" echo " Version: &version;" echo "----------------------------------------------------" echo "" echo NOTE: REMOVING THIS PLUGIN WILL ALSO NOT RE-INSTALL ANY PRIORITY SECURITY UPDATES DURING BOOT removepkg &name;-&version;-x86_64-1 rm -rf &plugdir; rm -rf /usr/local/emhttp/plugins/unraid.patch/ rm -rf /boot/config/plugins/unraid.patch/ rm -rf /boot/config/plugins/AAA-UnraidPatch-BootLoader-DO_NOT_DELETE.plg rm -rf /etc/cron.weekly/backgroundCheck.php