]> ###2016.10.02 - add: Python 3.5.2 for unRAID 6.2 ###2016.06.23 - fix: compile separate Python 3.5.1 for unRAID 6.1 ###2016.05.28 - add: log file ###2016.05.22 - fix: get token from notification settings - fix: settings clearing when stopping ###2016.05.20 - add: dynamix plugin update api ###2016.05.19 - initial unRAID 6 release. &pkgURL;/6.1/python3-3.5.1-x86_64-1.txz e19803aa714dcea6dd8f922089d4e996 &pkgURL;/6.2/python3-3.5.1-x86_64-2.txz a2b6f257cbb6dea91df4d422cc7b2b0b &gitURL;/archive/&plgNAME;.txz &gitURL;/archive/&plgNAME;.md5 #Verify unRAID Version source /etc/unraid-version VER=${version:0:3} if [[ $VER == 6.0 ]]; then echo "unRAID version 6.1 or higher is required" exit 1 fi # Verify and install plugin package sum1=$(/usr/bin/md5sum &plgPATH;/&plgNAME;.txz) sum2=$(/usr/bin/cat &plgPATH;/&plgNAME;.md5) if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then echo "Wrong 'plugin' package md5 hash." rm &plgPATH;/&plgNAME;.txz \ &plgPATH;/&plgNAME;.md5 exit 1 else if [[ $VER == 6.1 ]]; then echo "\nInstalling dependencies for unRAID 6.1" rm -f /boot/config/plugins/NerdPack/packages/6.1/python3-3.5.1-x86_64-2.txz upgradepkg --install-new /boot/config/plugins/NerdPack/packages/$VER/python3-3.5.1-x86_64-1.txz fi if [[ $VER == 6.2 ]]; then echo "\nInstalling dependencies for unRAID 6.2" upgradepkg --install-new /boot/config/plugins/NerdPack/packages/$VER/python3-3.5.1-x86_64-2.txz fi upgradepkg --install-new &plgPATH;/&plgNAME;.txz # Start scripts if enabled /dev/null 2>&1 < /dev/null & sleep 1 ]]> # Cleaning old source files find &plgPATH;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete find &plgPATH;/ -type f -iname "&name;*.md5" ! -iname "*&version;*" -delete echo "" echo "-----------------------------------------------------------" echo " &name; has been installed." echo " This plugin requires Dynamix webGui to operate" echo " Copyright 2016, &author;" echo " Version: &version;" echo "-----------------------------------------------------------" echo "" fi #stop daemon /etc/rc.d/rc.qnotify stop sleep 1 removepkg &plgPATH;/*.txz rm -rf &emhttp; rm -f &plgPATH;/*.txz \ &plgPATH;/*.md5 echo "" echo "-----------------------------------------------------------" echo " &name; has been removed." echo " Copyright 2016, &author;" echo " Version: &version;" echo "-----------------------------------------------------------" echo ""